aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Serialization/ASTBitCodes.h
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-08-03 21:49:18 +0000
committerDouglas Gregor <dgregor@apple.com>2011-08-03 21:49:18 +0000
commit6ec60e00eeaaed78d98c85ce962d6f328094ca14 (patch)
tree8c6aa21eb1c36977660825320495a5f039de62fc /include/clang/Serialization/ASTBitCodes.h
parentf0c1d8f804e7854bedf3f241409185951ee67866 (diff)
Introduce a local-to-global remapping for identifiers in the AST
reader, and fix up the one (!) place where we were improperly mapping a local ID to a global ID. Tested via the usual "gaps" trick. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@136817 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Serialization/ASTBitCodes.h')
-rw-r--r--include/clang/Serialization/ASTBitCodes.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/clang/Serialization/ASTBitCodes.h b/include/clang/Serialization/ASTBitCodes.h
index 51146f0c99..27dda4fe2a 100644
--- a/include/clang/Serialization/ASTBitCodes.h
+++ b/include/clang/Serialization/ASTBitCodes.h
@@ -119,6 +119,9 @@ namespace clang {
/// \brief An ID number that refers to an identifier in an AST file.
typedef uint32_t IdentID;
+ /// \brief The number of predefined identifier IDs.
+ const unsigned int NUM_PREDEF_IDENT_IDS = 1;
+
/// \brief An ID number that refers to a macro in an AST file.
typedef uint32_t MacroID;