Fix header issues.
authorRichard Trieu <rtrieu@google.com>
Fri, 11 Jan 2019 01:32:35 +0000 (01:32 +0000)
committerRichard Trieu <rtrieu@google.com>
Fri, 11 Jan 2019 01:32:35 +0000 (01:32 +0000)
commitf8b8b39c60f8d6558a38806c785f824d1b3174c0
tree15928a9bd485ab4e6c8f51c3156a8abbc2e14eef
parent80473621294fa8cb0e5639df032397e5bd6537a7
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

llvm-svn: 350913
13 files changed:
clang/include/clang/AST/ASTStructuralEquivalence.h
clang/include/clang/AST/BaseSubobject.h
clang/include/clang/AST/Mangle.h
clang/include/clang/AST/TemplateName.h
clang/include/clang/Analysis/ConstructionContext.h
clang/include/clang/Lex/PreprocessingRecord.h
clang/include/clang/Sema/Scope.h
clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h
clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h
clang/lib/CodeGen/CGOpenCLRuntime.h
clang/lib/CodeGen/CGOpenMPRuntime.h
clang/lib/CodeGen/VarBypassDetector.h
clang/lib/StaticAnalyzer/Core/SVals.cpp