diff options
author | Richard Trieu <rtrieu@google.com> | 2019-01-11 01:32:35 +0000 |
---|---|---|
committer | Richard Trieu <rtrieu@google.com> | 2019-01-11 01:32:35 +0000 |
commit | f9802cffcd89aa6245a0bb3f6d21929b23d5b96f (patch) | |
tree | d555128c6d68c45252cd7d18e30c0aa840bc245a /include/clang/Lex | |
parent | 57cccd459fadccac6766bf8f1ecbe0f6a3184059 (diff) |
Fix header issues.
Several headers would fail to compile if other headers were not previously
included. The usual issue is that a class is forward declared, but the
full definition is needed. The requirement for the definition is use of
isa/dyn_cast or calling functions of pointer-packed data types such as
DenseMap or PointerIntPair. Add missing includes to these headers.
SVals.h required an out-of-line method definition in the .cpp file to avoid
circular inclusion of headers with BasicValueFactory.h
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@350913 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Lex')
-rw-r--r-- | include/clang/Lex/PreprocessingRecord.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/clang/Lex/PreprocessingRecord.h b/include/clang/Lex/PreprocessingRecord.h index 44d79d9b62..027dd3ac5d 100644 --- a/include/clang/Lex/PreprocessingRecord.h +++ b/include/clang/Lex/PreprocessingRecord.h @@ -15,6 +15,7 @@ #ifndef LLVM_CLANG_LEX_PREPROCESSINGRECORD_H #define LLVM_CLANG_LEX_PREPROCESSINGRECORD_H +#include "clang/Basic/IdentifierTable.h" #include "clang/Basic/LLVM.h" #include "clang/Basic/SourceLocation.h" #include "clang/Lex/PPCallbacks.h" |