aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Serialization/ASTBitCodes.h
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2011-06-02 20:01:46 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2011-06-02 20:01:46 +0000
commit4cdb0e2a2e9d93805e5ceaf8bc7018bdd166aec1 (patch)
treefe252100dbd0b360fbc31de7f3426adc76aba868 /include/clang/Serialization/ASTBitCodes.h
parentdb3f24ac0dafad175e9daef1b8733600194f56e0 (diff)
[PCH] Store the offsets of source location file entries and go through them
in ASTReader::validateFileEntries(). This avoids going through all source location entries and fixes the performance regression. Many thanks to Doug for the hint! (rdar://9530587) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@132481 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Serialization/ASTBitCodes.h')
-rw-r--r--include/clang/Serialization/ASTBitCodes.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/clang/Serialization/ASTBitCodes.h b/include/clang/Serialization/ASTBitCodes.h
index ae87b29147..113f73ad7d 100644
--- a/include/clang/Serialization/ASTBitCodes.h
+++ b/include/clang/Serialization/ASTBitCodes.h
@@ -367,7 +367,12 @@ namespace clang {
OPENCL_EXTENSIONS = 43,
/// \brief The list of delegating constructor declarations.
- DELEGATING_CTORS = 44
+ DELEGATING_CTORS = 44,
+
+ /// \brief Record code for the table of offsets into the block
+ /// of file source-location information.
+ FILE_SOURCE_LOCATION_OFFSETS = 45
+
};
/// \brief Record types used within a source manager block.