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/Frontend/PCHBitCodes.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/Frontend/PCHBitCodes.h')
-rw-r--r-- | include/clang/Frontend/PCHBitCodes.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/include/clang/Frontend/PCHBitCodes.h b/include/clang/Frontend/PCHBitCodes.h index 2afcce3388..998b1109b4 100644 --- a/include/clang/Frontend/PCHBitCodes.h +++ b/include/clang/Frontend/PCHBitCodes.h @@ -45,6 +45,8 @@ namespace clang { /// file. typedef uint32_t IdentID; + typedef uint32_t SelectorID; + /// \brief Describes the various kinds of blocks that occur within /// a PCH file. enum BlockIDs { @@ -66,7 +68,10 @@ namespace clang { /// \brief The block containing the definitions of all of the /// declarations stored in the PCH file. - DECLS_BLOCK_ID + DECLS_BLOCK_ID, + + /// \brief The block containing ObjC selectors stored in the PCH file. + SELECTOR_BLOCK_ID }; /// \brief Record types that occur within the PCH block itself. @@ -160,7 +165,10 @@ namespace clang { /// \brief Record code for the array of locally-scoped external /// declarations. - LOCALLY_SCOPED_EXTERNAL_DECLS = 11 + LOCALLY_SCOPED_EXTERNAL_DECLS = 11, + + /// \brief Record code for the Objective-C Selector Table. + SELECTOR_TABLE = 12 }; /// \brief Record types used within a source manager block. |