aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Basic/IdentifierTable.h
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-03-07 01:36:13 +0000
committerTed Kremenek <kremenek@apple.com>2009-03-07 01:36:13 +0000
commitb9eb3afc9eafbb1c6815c8b63633065f370be6a5 (patch)
tree8c89f5ea512e5ca9921db1755f0b1b97f71cf5d4 /include/clang/Basic/IdentifierTable.h
parent150ec292a6e7995a711cedbe7a10a25d664a6c6b (diff)
Teach Diagnostic about Selector.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66314 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/IdentifierTable.h')
-rw-r--r--include/clang/Basic/IdentifierTable.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/clang/Basic/IdentifierTable.h b/include/clang/Basic/IdentifierTable.h
index 2584136ec4..b6cee028f4 100644
--- a/include/clang/Basic/IdentifierTable.h
+++ b/include/clang/Basic/IdentifierTable.h
@@ -334,6 +334,8 @@ private:
/// selectors that take no arguments and selectors that take 1 argument, which
/// accounts for 78% of all selectors in Cocoa.h.
class Selector {
+ friend class DiagnosticInfo;
+
enum IdentifierInfoFlag {
// MultiKeywordSelector = 0.
ZeroArg = 0x1,