aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Serialization
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-09-10 00:30:18 +0000
committerDouglas Gregor <dgregor@apple.com>2011-09-10 00:30:18 +0000
commit02a5e875cca1ce2f471dad06fb5557346d99c164 (patch)
tree664ae4e47b2367cf43f0afce636d70e4f778f566 /include/clang/Serialization
parent94da1587f7d584fc61df793229d197969f204cd9 (diff)
Don't crash when we fail to load a module. It's unbecoming of a
well-bred compiler like Clang. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139442 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Serialization')
-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 471937bdb0..0c3e72c081 100644
--- a/include/clang/Serialization/ASTBitCodes.h
+++ b/include/clang/Serialization/ASTBitCodes.h
@@ -666,6 +666,9 @@ namespace clang {
/// \brief Objective-C "SEL" redefinition type
SPECIAL_TYPE_OBJC_SEL_REDEFINITION = 8
};
+
+ /// \brief The number of special type IDs.
+ const unsigned NumSpecialTypeIDs = 0;
/// \brief Predefined declaration IDs.
///