diff options
author | Steve Naroff <snaroff@apple.com> | 2009-04-23 10:39:46 +0000 |
---|---|---|
committer | Steve Naroff <snaroff@apple.com> | 2009-04-23 10:39:46 +0000 |
commit | 90cd1bb1baac2a0221f3642de0cbea3244b116e5 (patch) | |
tree | 5fc871b111c9848b029793228385bd2867596150 /include/clang/Basic/IdentifierTable.h | |
parent | 325f75896d346605a00b9cc3494ed20a2a5dfb4e (diff) |
Add PCH read/write support for Objective-C Selectors.
Note: This support is non-lazy. Once we get "Cocoa.h" humming, we can optimize this.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69884 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/IdentifierTable.h')
-rw-r--r-- | include/clang/Basic/IdentifierTable.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Basic/IdentifierTable.h b/include/clang/Basic/IdentifierTable.h index 0553a98022..235c19081c 100644 --- a/include/clang/Basic/IdentifierTable.h +++ b/include/clang/Basic/IdentifierTable.h @@ -370,7 +370,6 @@ class Selector { InfoPtr = reinterpret_cast<uintptr_t>(SI); assert((InfoPtr & ArgFlags) == 0 &&"Insufficiently aligned IdentifierInfo"); } - Selector(uintptr_t V) : InfoPtr(V) {} IdentifierInfo *getAsIdentifierInfo() const { if (getIdentifierInfoFlag()) @@ -388,6 +387,7 @@ public: /// The default ctor should only be used when creating data structures that /// will contain selectors. Selector() : InfoPtr(0) {} + Selector(uintptr_t V) : InfoPtr(V) {} /// operator==/!= - Indicate whether the specified selectors are identical. bool operator==(Selector RHS) const { |