]> granicus.if.org Git - clang/commit
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)
commitf9802cffcd89aa6245a0bb3f6d21929b23d5b96f
treed555128c6d68c45252cd7d18e30c0aa840bc245a
parent57cccd459fadccac6766bf8f1ecbe0f6a3184059
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
13 files changed:
include/clang/AST/ASTStructuralEquivalence.h
include/clang/AST/BaseSubobject.h
include/clang/AST/Mangle.h
include/clang/AST/TemplateName.h
include/clang/Analysis/ConstructionContext.h
include/clang/Lex/PreprocessingRecord.h
include/clang/Sema/Scope.h
include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h
include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h
lib/CodeGen/CGOpenCLRuntime.h
lib/CodeGen/CGOpenMPRuntime.h
lib/CodeGen/VarBypassDetector.h
lib/StaticAnalyzer/Core/SVals.cpp