forked from OSchip/llvm-project
Add missing includes and forward declarations so that headers don't depend on
other headers included before them. llvm-svn: 172320
This commit is contained in:
parent
de45c3a485
commit
1737bd3a92
|
@ -14,6 +14,7 @@
|
|||
#ifndef LLVM_CLANG_AST_DECLLOOKUPS_H
|
||||
#define LLVM_CLANG_AST_DECLLOOKUPS_H
|
||||
|
||||
#include "clang/AST/ASTContext.h"
|
||||
#include "clang/AST/DeclBase.h"
|
||||
#include "clang/AST/DeclContextInternals.h"
|
||||
#include "clang/AST/DeclarationName.h"
|
||||
|
|
|
@ -14,6 +14,9 @@
|
|||
#ifndef LLVM_CLANG_AST_STMTCXX_H
|
||||
#define LLVM_CLANG_AST_STMTCXX_H
|
||||
|
||||
#include "clang/AST/DeclarationName.h"
|
||||
#include "clang/AST/Expr.h"
|
||||
#include "clang/AST/NestedNameSpecifier.h"
|
||||
#include "clang/AST/Stmt.h"
|
||||
#include "llvm/Support/Compiler.h"
|
||||
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
|
||||
#include "clang/AST/Decl.h"
|
||||
#include "clang/AST/Stmt.h"
|
||||
#include "clang/AST/TypeLoc.h"
|
||||
#include "llvm/Support/AlignOf.h"
|
||||
|
||||
namespace clang {
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
#ifndef LLVM_CLANG_UNINIT_VALS_H
|
||||
#define LLVM_CLANG_UNINIT_VALS_H
|
||||
|
||||
#include "clang/AST/Stmt.h"
|
||||
#include "llvm/ADT/SmallVector.h"
|
||||
|
||||
namespace clang {
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
#ifndef LLVM_CLANG_BASIC_MACROBUILDER_H
|
||||
#define LLVM_CLANG_BASIC_MACROBUILDER_H
|
||||
|
||||
#include "clang/Basic/LLVM.h"
|
||||
#include "llvm/ADT/Twine.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
#ifndef LLVM_CLANG_BASIC_ON_DISK_HASH_TABLE_H
|
||||
#define LLVM_CLANG_BASIC_ON_DISK_HASH_TABLE_H
|
||||
|
||||
#include "clang/Basic/LLVM.h"
|
||||
#include "llvm/Support/Allocator.h"
|
||||
#include "llvm/Support/DataTypes.h"
|
||||
#include "llvm/Support/Host.h"
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
#ifndef LLVM_CLANG_FRONTEND_TARGETOPTIONS_H
|
||||
#define LLVM_CLANG_FRONTEND_TARGETOPTIONS_H
|
||||
|
||||
#include "clang/Basic/LLVM.h"
|
||||
#include "llvm/ADT/IntrusiveRefCntPtr.h"
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
|
|
@ -15,7 +15,9 @@
|
|||
#define LLVM_CLANG_LEX_EXTERNAL_PREPROCESSOR_SOURCE_H
|
||||
|
||||
namespace clang {
|
||||
|
||||
|
||||
class IdentifierInfo;
|
||||
|
||||
/// \brief Abstract interface for external sources of preprocessor
|
||||
/// information.
|
||||
///
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
#ifndef LLVM_CLANG_LEX_HEADERSEARCHOPTIONS_H
|
||||
#define LLVM_CLANG_LEX_HEADERSEARCHOPTIONS_H
|
||||
|
||||
#include "clang/Basic/LLVM.h"
|
||||
#include "llvm/ADT/IntrusiveRefCntPtr.h"
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
#include <vector>
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
#ifndef LLVM_CLANG_SEMA_CXXFIELDCOLLECTOR_H
|
||||
#define LLVM_CLANG_SEMA_CXXFIELDCOLLECTOR_H
|
||||
|
||||
#include "clang/Basic/LLVM.h"
|
||||
#include "llvm/ADT/SmallVector.h"
|
||||
|
||||
namespace clang {
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
#define LLVM_CLANG_SEMA_TYPOCORRECTION_H
|
||||
|
||||
#include "clang/AST/DeclCXX.h"
|
||||
#include "clang/Sema/DeclSpec.h"
|
||||
#include "llvm/ADT/SmallVector.h"
|
||||
|
||||
namespace clang {
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
#ifndef LLVM_CLANG_SERIALIZATION_CONTINUOUS_RANGE_MAP_H
|
||||
#define LLVM_CLANG_SERIALIZATION_CONTINUOUS_RANGE_MAP_H
|
||||
|
||||
#include "clang/Basic/LLVM.h"
|
||||
#include "llvm/ADT/SmallVector.h"
|
||||
#include <algorithm>
|
||||
#include <utility>
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
#define LLVM_CLANG_STATICANALYZER_CORE_CHECKEROPTINFO_H
|
||||
|
||||
#include "clang/Basic/LLVM.h"
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
|
||||
namespace clang {
|
||||
namespace ento {
|
||||
|
|
|
@ -18,6 +18,8 @@
|
|||
#ifndef LLVM_CLANG_GR_PROGRAMSTATETRAIT_H
|
||||
#define LLVM_CLANG_GR_PROGRAMSTATETRAIT_H
|
||||
|
||||
#include "llvm/Support/DataTypes.h"
|
||||
|
||||
namespace llvm {
|
||||
class BumpPtrAllocator;
|
||||
template <typename K, typename D, typename I> class ImmutableMap;
|
||||
|
|
|
@ -14,7 +14,11 @@
|
|||
#ifndef LLVM_CLANG_TAINTMANAGER_H
|
||||
#define LLVM_CLANG_TAINTMANAGER_H
|
||||
|
||||
#include "clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h"
|
||||
#include "clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h"
|
||||
#include "clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h"
|
||||
#include "clang/StaticAnalyzer/Core/PathSensitive/TaintTag.h"
|
||||
#include "llvm/ADT/ImmutableMap.h"
|
||||
|
||||
namespace clang {
|
||||
namespace ento {
|
||||
|
|
|
@ -16,7 +16,8 @@
|
|||
#define LLVM_CLANG_GR_WORKLIST
|
||||
|
||||
#include "clang/StaticAnalyzer/Core/PathSensitive/BlockCounter.h"
|
||||
#include <cstddef>
|
||||
#include "clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h"
|
||||
#include <cassert>
|
||||
|
||||
namespace clang {
|
||||
|
||||
|
@ -24,9 +25,6 @@ class CFGBlock;
|
|||
|
||||
namespace ento {
|
||||
|
||||
class ExplodedNode;
|
||||
class ExplodedNodeImpl;
|
||||
|
||||
class WorkListUnit {
|
||||
ExplodedNode *node;
|
||||
BlockCounter counter;
|
||||
|
|
Loading…
Reference in New Issue