aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Serialization/ASTBitCodes.h
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-10-20 22:00:55 +0000
committerDouglas Gregor <dgregor@apple.com>2010-10-20 22:00:55 +0000
commitecdcb883cbc6bb4a2445dc6f02d58d9bdb54a0ed (patch)
tree9a88c438fa389bc46038d92d1a78c94ca43e831c /include/clang/Serialization/ASTBitCodes.h
parent93f5e6a5d7690f90bc8a94e6b40d6c7d19719e0c (diff)
Extend the preprocessing record and libclang with support for
inclusion directives, keeping track of every #include, #import, etc. in the translation unit. We keep track of the source location and kind of the inclusion, how the file name was spelled, and the underlying file to which the inclusion resolved. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116952 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Serialization/ASTBitCodes.h')
-rw-r--r--include/clang/Serialization/ASTBitCodes.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/clang/Serialization/ASTBitCodes.h b/include/clang/Serialization/ASTBitCodes.h
index edb61917d4..da27cde29f 100644
--- a/include/clang/Serialization/ASTBitCodes.h
+++ b/include/clang/Serialization/ASTBitCodes.h
@@ -372,7 +372,11 @@ namespace clang {
PP_MACRO_INSTANTIATION = 4,
/// \brief Describes a macro definition within the preprocessing record.
- PP_MACRO_DEFINITION = 5
+ PP_MACRO_DEFINITION = 5,
+
+ /// \brief Describes am inclusion directive within the preprocessing
+ /// record.
+ PP_INCLUSION_DIRECTIVE = 6
};
/// \defgroup ASTAST AST file AST constants