diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-05-12 01:31:05 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-05-12 01:31:05 +0000 |
commit | b64c19365deab788753d29c9bc881253c3f16f37 (patch) | |
tree | 904471327e615a25388412991745290bf92b668f /include/clang/Frontend/PCHBitCodes.h | |
parent | 06ab044127f0ff9a2b3696b6787d23c877505292 (diff) |
Make precompiled headers work with -E. When we're only preprocessing
(with -E), we turn the PCH include into an implicit include of the
file from which the PCH file was generated.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71534 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Frontend/PCHBitCodes.h')
-rw-r--r-- | include/clang/Frontend/PCHBitCodes.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/clang/Frontend/PCHBitCodes.h b/include/clang/Frontend/PCHBitCodes.h index 29f408316b..0862cd6390 100644 --- a/include/clang/Frontend/PCHBitCodes.h +++ b/include/clang/Frontend/PCHBitCodes.h @@ -214,7 +214,11 @@ namespace clang { /// \brief Record code for the set of Objective-C category /// implementations. - OBJC_CATEGORY_IMPLEMENTATIONS = 19 + OBJC_CATEGORY_IMPLEMENTATIONS = 19, + + /// \brief Record code for the original file that was used to + /// generate the precompiled header. + ORIGINAL_FILE_NAME = 20 }; /// \brief Record types used within a source manager block. |