diff options
115 files changed, 265 insertions, 265 deletions
diff --git a/examples/wpa/clang-wpa.cpp b/examples/wpa/clang-wpa.cpp index 79afbbd273..45e889e170 100644 --- a/examples/wpa/clang-wpa.cpp +++ b/examples/wpa/clang-wpa.cpp @@ -14,10 +14,10 @@ #include "clang/Basic/FileManager.h" #include "clang/Basic/SourceManager.h" -#include "clang/Checker/PathSensitive/AnalysisManager.h" -#include "clang/Checker/PathSensitive/GRExprEngine.h" -#include "clang/Checker/PathSensitive/GRTransferFuncs.h" -#include "clang/Checker/Checkers/LocalCheckers.h" +#include "clang/GR/PathSensitive/AnalysisManager.h" +#include "clang/GR/PathSensitive/GRExprEngine.h" +#include "clang/GR/PathSensitive/GRTransferFuncs.h" +#include "clang/GR/Checkers/LocalCheckers.h" #include "clang/Frontend/ASTUnit.h" #include "clang/Frontend/CompilerInstance.h" #include "clang/Index/CallGraph.h" diff --git a/include/clang/Checker/AnalysisConsumer.h b/include/clang/GR/AnalysisConsumer.h index c236766f0a..c236766f0a 100644 --- a/include/clang/Checker/AnalysisConsumer.h +++ b/include/clang/GR/AnalysisConsumer.h diff --git a/include/clang/Checker/BugReporter/BugReporter.h b/include/clang/GR/BugReporter/BugReporter.h index 031693d6d7..0b23ae61e8 100644 --- a/include/clang/Checker/BugReporter/BugReporter.h +++ b/include/clang/GR/BugReporter/BugReporter.h @@ -16,7 +16,7 @@ #define LLVM_CLANG_ANALYSIS_BUGREPORTER #include "clang/Basic/SourceLocation.h" -#include "clang/Checker/PathSensitive/GRState.h" +#include "clang/GR/PathSensitive/GRState.h" #include "llvm/ADT/FoldingSet.h" #include "llvm/ADT/ImmutableList.h" #include "llvm/ADT/ImmutableSet.h" diff --git a/include/clang/Checker/BugReporter/BugType.h b/include/clang/GR/BugReporter/BugType.h index afc07c89e8..8d105bfc61 100644 --- a/include/clang/Checker/BugReporter/BugType.h +++ b/include/clang/GR/BugReporter/BugType.h @@ -14,7 +14,7 @@ #ifndef LLVM_CLANG_ANALYSIS_BUGTYPE #define LLVM_CLANG_ANALYSIS_BUGTYPE -#include "clang/Checker/BugReporter/BugReporter.h" +#include "clang/GR/BugReporter/BugReporter.h" #include "llvm/ADT/FoldingSet.h" #include <string> diff --git a/include/clang/Checker/BugReporter/PathDiagnostic.h b/include/clang/GR/BugReporter/PathDiagnostic.h index 24c75ce7b2..24c75ce7b2 100644 --- a/include/clang/Checker/BugReporter/PathDiagnostic.h +++ b/include/clang/GR/BugReporter/PathDiagnostic.h diff --git a/include/clang/Checker/Checkers/DereferenceChecker.h b/include/clang/GR/Checkers/DereferenceChecker.h index a84183e7f2..a84183e7f2 100644 --- a/include/clang/Checker/Checkers/DereferenceChecker.h +++ b/include/clang/GR/Checkers/DereferenceChecker.h diff --git a/include/clang/Checker/Checkers/LocalCheckers.h b/include/clang/GR/Checkers/LocalCheckers.h index 4a9e381a7c..4a9e381a7c 100644 --- a/include/clang/Checker/Checkers/LocalCheckers.h +++ b/include/clang/GR/Checkers/LocalCheckers.h diff --git a/include/clang/Checker/FrontendActions.h b/include/clang/GR/FrontendActions.h index 1c0bbb78ba..1c0bbb78ba 100644 --- a/include/clang/Checker/FrontendActions.h +++ b/include/clang/GR/FrontendActions.h diff --git a/include/clang/Checker/ManagerRegistry.h b/include/clang/GR/ManagerRegistry.h index ebfd28e109..1266c7900d 100644 --- a/include/clang/Checker/ManagerRegistry.h +++ b/include/clang/GR/ManagerRegistry.h @@ -14,7 +14,7 @@ #ifndef LLVM_CLANG_ANALYSIS_MANAGER_REGISTRY_H #define LLVM_CLANG_ANALYSIS_MANAGER_REGISTRY_H -#include "clang/Checker/PathSensitive/GRState.h" +#include "clang/GR/PathSensitive/GRState.h" namespace clang { diff --git a/include/clang/Checker/PathDiagnosticClients.h b/include/clang/GR/PathDiagnosticClients.h index a0360102e7..a0360102e7 100644 --- a/include/clang/Checker/PathDiagnosticClients.h +++ b/include/clang/GR/PathDiagnosticClients.h diff --git a/include/clang/Checker/PathSensitive/AnalysisManager.h b/include/clang/GR/PathSensitive/AnalysisManager.h index 473772b82e..42221f2a53 100644 --- a/include/clang/Checker/PathSensitive/AnalysisManager.h +++ b/include/clang/GR/PathSensitive/AnalysisManager.h @@ -16,8 +16,8 @@ #define LLVM_CLANG_ANALYSIS_ANALYSISMANAGER_H #include "clang/Analysis/AnalysisContext.h" -#include "clang/Checker/BugReporter/BugReporter.h" -#include "clang/Checker/BugReporter/PathDiagnostic.h" +#include "clang/GR/BugReporter/BugReporter.h" +#include "clang/GR/BugReporter/PathDiagnostic.h" namespace clang { diff --git a/include/clang/Checker/PathSensitive/BasicValueFactory.h b/include/clang/GR/PathSensitive/BasicValueFactory.h index c9518cc5ed..846082e504 100644 --- a/include/clang/Checker/PathSensitive/BasicValueFactory.h +++ b/include/clang/GR/PathSensitive/BasicValueFactory.h @@ -16,7 +16,7 @@ #ifndef LLVM_CLANG_ANALYSIS_BASICVALUEFACTORY_H #define LLVM_CLANG_ANALYSIS_BASICVALUEFACTORY_H -#include "clang/Checker/PathSensitive/SVals.h" +#include "clang/GR/PathSensitive/SVals.h" #include "clang/AST/ASTContext.h" #include "llvm/ADT/FoldingSet.h" #include "llvm/ADT/APSInt.h" diff --git a/include/clang/Checker/PathSensitive/Checker.h b/include/clang/GR/PathSensitive/Checker.h index eb4d13069c..4e4cd58555 100644 --- a/include/clang/Checker/PathSensitive/Checker.h +++ b/include/clang/GR/PathSensitive/Checker.h @@ -16,7 +16,7 @@ #define LLVM_CLANG_ANALYSIS_CHECKER #include "clang/Analysis/Support/SaveAndRestore.h" -#include "clang/Checker/PathSensitive/GRExprEngine.h" +#include "clang/GR/PathSensitive/GRExprEngine.h" //===----------------------------------------------------------------------===// // Checker interface. diff --git a/include/clang/Checker/PathSensitive/CheckerHelpers.h b/include/clang/GR/PathSensitive/CheckerHelpers.h index ea3c842ffc..ea3c842ffc 100644 --- a/include/clang/Checker/PathSensitive/CheckerHelpers.h +++ b/include/clang/GR/PathSensitive/CheckerHelpers.h diff --git a/include/clang/Checker/PathSensitive/CheckerVisitor.def b/include/clang/GR/PathSensitive/CheckerVisitor.def index 3ee8071985..3ee8071985 100644 --- a/include/clang/Checker/PathSensitive/CheckerVisitor.def +++ b/include/clang/GR/PathSensitive/CheckerVisitor.def diff --git a/include/clang/Checker/PathSensitive/CheckerVisitor.h b/include/clang/GR/PathSensitive/CheckerVisitor.h index 241d9e39ad..9980ac93dd 100644 --- a/include/clang/Checker/PathSensitive/CheckerVisitor.h +++ b/include/clang/GR/PathSensitive/CheckerVisitor.h @@ -13,7 +13,7 @@ #ifndef LLVM_CLANG_ANALYSIS_CHECKERVISITOR #define LLVM_CLANG_ANALYSIS_CHECKERVISITOR -#include "clang/Checker/PathSensitive/Checker.h" +#include "clang/GR/PathSensitive/Checker.h" namespace clang { @@ -49,7 +49,7 @@ public: case Stmt::NAME ## Class:\ static_cast<ImplClass*>(this)->PreVisit ## NAME(C,static_cast<const NAME*>(S));\ break; -#include "clang/Checker/PathSensitive/CheckerVisitor.def" +#include "clang/GR/PathSensitive/CheckerVisitor.def" } } @@ -68,7 +68,7 @@ case Stmt::NAME ## Class:\ static_cast<ImplClass*>(this)->\ PostVisit ## NAME(C,static_cast<const NAME*>(S));\ break; -#include "clang/Checker/PathSensitive/CheckerVisitor.def" +#include "clang/GR/PathSensitive/CheckerVisitor.def" } } @@ -99,7 +99,7 @@ void PreVisit ## NAME(CheckerContext &C, const NAME* S) {\ void PostVisit ## NAME(CheckerContext &C, const NAME* S) {\ static_cast<ImplClass*>(this)->PostVisit ## FALLBACK(C, S);\ } -#include "clang/Checker/PathSensitive/CheckerVisitor.def" +#include "clang/GR/PathSensitive/CheckerVisitor.def" }; } // end clang namespace diff --git a/include/clang/Checker/PathSensitive/ConstraintManager.h b/include/clang/GR/PathSensitive/ConstraintManager.h index fe37291279..c845a44645 100644 --- a/include/clang/Checker/PathSensitive/ConstraintManager.h +++ b/include/clang/GR/PathSensitive/ConstraintManager.h @@ -15,7 +15,7 @@ #define LLVM_CLANG_ANALYSIS_CONSTRAINT_MANAGER_H // FIXME: Typedef LiveSymbolsTy/DeadSymbolsTy at a more appropriate place. -#include "clang/Checker/PathSensitive/Store.h" +#include "clang/GR/PathSensitive/Store.h" namespace llvm { class APSInt; diff --git a/include/clang/Checker/PathSensitive/Environment.h b/include/clang/GR/PathSensitive/Environment.h index a2b3567a4f..46996bae9a 100644 --- a/include/clang/Checker/PathSensitive/Environment.h +++ b/include/clang/GR/PathSensitive/Environment.h @@ -14,8 +14,8 @@ #ifndef LLVM_CLANG_ANALYSIS_ENVIRONMENT_H #define LLVM_CLANG_ANALYSIS_ENVIRONMENT_H -#include "clang/Checker/PathSensitive/Store.h" -#include "clang/Checker/PathSensitive/SVals.h" +#include "clang/GR/PathSensitive/Store.h" +#include "clang/GR/PathSensitive/SVals.h" #include "llvm/ADT/ImmutableMap.h" namespace clang { diff --git a/include/clang/Checker/PathSensitive/ExplodedGraph.h b/include/clang/GR/PathSensitive/ExplodedGraph.h index c875a2308b..c875a2308b 100644 --- a/include/clang/Checker/PathSensitive/ExplodedGraph.h +++ b/include/clang/GR/PathSensitive/ExplodedGraph.h diff --git a/include/clang/Checker/PathSensitive/GRBlockCounter.h b/include/clang/GR/PathSensitive/GRBlockCounter.h index b7d0e8ae0c..b7d0e8ae0c 100644 --- a/include/clang/Checker/PathSensitive/GRBlockCounter.h +++ b/include/clang/GR/PathSensitive/GRBlockCounter.h diff --git a/include/clang/Checker/PathSensitive/GRCoreEngine.h b/include/clang/GR/PathSensitive/GRCoreEngine.h index d8349ba3ce..882c8256c3 100644 --- a/include/clang/Checker/PathSensitive/GRCoreEngine.h +++ b/include/clang/GR/PathSensitive/GRCoreEngine.h @@ -16,10 +16,10 @@ #define LLVM_CLANG_ANALYSIS_GRENGINE #include "clang/AST/Expr.h" -#include "clang/Checker/PathSensitive/ExplodedGraph.h" -#include "clang/Checker/PathSensitive/GRWorkList.h" -#include "clang/Checker/PathSensitive/GRBlockCounter.h" -#include "clang/Checker/PathSensitive/GRSubEngine.h" +#include "clang/GR/PathSensitive/ExplodedGraph.h" +#include "clang/GR/PathSensitive/GRWorkList.h" +#include "clang/GR/PathSensitive/GRBlockCounter.h" +#include "clang/GR/PathSensitive/GRSubEngine.h" #include "llvm/ADT/OwningPtr.h" namespace clang { diff --git a/include/clang/Checker/PathSensitive/GRExprEngine.h b/include/clang/GR/PathSensitive/GRExprEngine.h index c18d3b1c7e..ee0ad8b51c 100644 --- a/include/clang/Checker/PathSensitive/GRExprEngine.h +++ b/include/clang/GR/PathSensitive/GRExprEngine.h @@ -16,12 +16,12 @@ #ifndef LLVM_CLANG_ANALYSIS_GREXPRENGINE #define LLVM_CLANG_ANALYSIS_GREXPRENGINE -#include "clang/Checker/PathSensitive/AnalysisManager.h" -#include "clang/Checker/PathSensitive/GRSubEngine.h" -#include "clang/Checker/PathSensitive/GRCoreEngine.h" -#include "clang/Checker/PathSensitive/GRState.h" -#include "clang/Checker/PathSensitive/GRTransferFuncs.h" -#include "clang/Checker/BugReporter/BugReporter.h" +#include "clang/GR/PathSensitive/AnalysisManager.h" +#include "clang/GR/PathSensitive/GRSubEngine.h" +#include "clang/GR/PathSensitive/GRCoreEngine.h" +#include "clang/GR/PathSensitive/GRState.h" +#include "clang/GR/PathSensitive/GRTransferFuncs.h" +#include "clang/GR/BugReporter/BugReporter.h" #include "clang/AST/Type.h" #include "clang/AST/ExprObjC.h" #include "clang/AST/ExprCXX.h" diff --git a/include/clang/Checker/PathSensitive/GRExprEngineBuilders.h b/include/clang/GR/PathSensitive/GRExprEngineBuilders.h index 5503412f7e..052893ce9e 100644 --- a/include/clang/Checker/PathSensitive/GRExprEngineBuilders.h +++ b/include/clang/GR/PathSensitive/GRExprEngineBuilders.h @@ -14,7 +14,7 @@ #ifndef LLVM_CLANG_ANALYSIS_GREXPRENGINE_BUILDERS #define LLVM_CLANG_ANALYSIS_GREXPRENGINE_BUILDERS -#include "clang/Checker/PathSensitive/GRExprEngine.h" +#include "clang/GR/PathSensitive/GRExprEngine.h" #include "clang/Analysis/Support/SaveAndRestore.h" namespace clang { diff --git a/include/clang/Checker/PathSensitive/GRState.h b/include/clang/GR/PathSensitive/GRState.h index 47ea4c9d08..5212615511 100644 --- a/include/clang/Checker/PathSensitive/GRState.h +++ b/include/clang/GR/PathSensitive/GRState.h @@ -14,10 +14,10 @@ #ifndef LLVM_CLANG_ANALYSIS_VALUESTATE_H #define LLVM_CLANG_ANALYSIS_VALUESTATE_H -#include "clang/Checker/PathSensitive/ConstraintManager.h" -#include "clang/Checker/PathSensitive/Environment.h" -#include "clang/Checker/PathSensitive/Store.h" -#include "clang/Checker/PathSensitive/SValBuilder.h" +#include "clang/GR/PathSensitive/ConstraintManager.h" +#include "clang/GR/PathSensitive/Environment.h" +#include "clang/GR/PathSensitive/Store.h" +#include "clang/GR/PathSensitive/SValBuilder.h" #include "llvm/ADT/FoldingSet.h" #include "llvm/ADT/ImmutableMap.h" #include "llvm/Support/Casting.h" diff --git a/include/clang/Checker/PathSensitive/GRStateTrait.h b/include/clang/GR/PathSensitive/GRStateTrait.h index 25be33f028..25be33f028 100644 --- a/include/clang/Checker/PathSensitive/GRStateTrait.h +++ b/include/clang/GR/PathSensitive/GRStateTrait.h diff --git a/include/clang/Checker/PathSensitive/GRSubEngine.h b/include/clang/GR/PathSensitive/GRSubEngine.h index ff86adc9f8..bba44ab2e5 100644 --- a/include/clang/Checker/PathSensitive/GRSubEngine.h +++ b/include/clang/GR/PathSensitive/GRSubEngine.h @@ -13,7 +13,7 @@ #ifndef LLVM_CLANG_ANALYSIS_GRSUBENGINE_H #define LLVM_CLANG_ANALYSIS_GRSUBENGINE_H -#include "clang/Checker/PathSensitive/SVals.h" +#include "clang/GR/PathSensitive/SVals.h" namespace clang { diff --git a/include/clang/Checker/PathSensitive/GRTransferFuncs.h b/include/clang/GR/PathSensitive/GRTransferFuncs.h index a6a79cf91d..9e509dfcea 100644 --- a/include/clang/Checker/PathSensitive/GRTransferFuncs.h +++ b/include/clang/GR/PathSensitive/GRTransferFuncs.h @@ -15,8 +15,8 @@ #ifndef LLVM_CLANG_ANALYSIS_GRTF #define LLVM_CLANG_ANALYSIS_GRTF -#include "clang/Checker/PathSensitive/GRState.h" -#include "clang/Checker/PathSensitive/SVals.h" +#include "clang/GR/PathSensitive/GRState.h" +#include "clang/GR/PathSensitive/SVals.h" #include <vector> namespace clang { diff --git a/include/clang/Checker/PathSensitive/GRWorkList.h b/include/clang/GR/PathSensitive/GRWorkList.h index 6400dae2c1..062df94802 100644 --- a/include/clang/Checker/PathSensitive/GRWorkList.h +++ b/include/clang/GR/PathSensitive/GRWorkList.h @@ -15,7 +15,7 @@ #ifndef LLVM_CLANG_ANALYSIS_GRWORKLIST #define LLVM_CLANG_ANALYSIS_GRWORKLIST -#include "clang/Checker/PathSensitive/GRBlockCounter.h" +#include "clang/GR/PathSensitive/GRBlockCounter.h" #include <cstddef> namespace clang { diff --git a/include/clang/Checker/PathSensitive/MemRegion.h b/include/clang/GR/PathSensitive/MemRegion.h index ac44944c50..348acbd171 100644 --- a/include/clang/Checker/PathSensitive/MemRegion.h +++ b/include/clang/GR/PathSensitive/MemRegion.h @@ -18,7 +18,7 @@ #include "clang/AST/Decl.h" #include "clang/AST/DeclObjC.h" -#include "clang/Checker/PathSensitive/SVals.h" +#include "clang/GR/PathSensitive/SVals.h" #include "llvm/Support/Casting.h" #include "llvm/Support/ErrorHandling.h" #include "llvm/ADT/FoldingSet.h" diff --git a/include/clang/Checker/PathSensitive/SValBuilder.h b/include/clang/GR/PathSensitive/SValBuilder.h index b1776e0a87..1b5fac3db2 100644 --- a/include/clang/Checker/PathSensitive/SValBuilder.h +++ b/include/clang/GR/PathSensitive/SValBuilder.h @@ -17,9 +17,9 @@ #include "clang/AST/Expr.h" #include "clang/AST/ExprCXX.h" -#include "clang/Checker/PathSensitive/SVals.h" -#include "clang/Checker/PathSensitive/BasicValueFactory.h" -#include "clang/Checker/PathSensitive/MemRegion.h" +#include "clang/GR/PathSensitive/SVals.h" +#include "clang/GR/PathSensitive/BasicValueFactory.h" +#include "clang/GR/PathSensitive/MemRegion.h" namespace clang { diff --git a/include/clang/Checker/PathSensitive/SVals.h b/include/clang/GR/PathSensitive/SVals.h index a50d296ea7..336093a3b9 100644 --- a/include/clang/Checker/PathSensitive/SVals.h +++ b/include/clang/GR/PathSensitive/SVals.h @@ -15,7 +15,7 @@ #ifndef LLVM_CLANG_ANALYSIS_RVALUE_H #define LLVM_CLANG_ANALYSIS_RVALUE_H -#include "clang/Checker/PathSensitive/SymbolManager.h" +#include "clang/GR/PathSensitive/SymbolManager.h" #include "llvm/Support/Casting.h" #include "llvm/ADT/ImmutableList.h" diff --git a/include/clang/Checker/PathSensitive/Store.h b/include/clang/GR/PathSensitive/Store.h index 67b90b3e1e..08997997d6 100644 --- a/include/clang/Checker/PathSensitive/Store.h +++ b/include/clang/GR/PathSensitive/Store.h @@ -14,8 +14,8 @@ #ifndef LLVM_CLANG_ANALYSIS_STORE_H #define LLVM_CLANG_ANALYSIS_STORE_H -#include "clang/Checker/PathSensitive/MemRegion.h" -#include "clang/Checker/PathSensitive/SValBuilder.h" +#include "clang/GR/PathSensitive/MemRegion.h" +#include "clang/GR/PathSensitive/SValBuilder.h" #include "llvm/ADT/DenseSet.h" #include "llvm/ADT/Optional.h" diff --git a/include/clang/Checker/PathSensitive/SummaryManager.h b/include/clang/GR/PathSensitive/SummaryManager.h index fd23189491..fd23189491 100644 --- a/include/clang/Checker/PathSensitive/SummaryManager.h +++ b/include/clang/GR/PathSensitive/SummaryManager.h diff --git a/include/clang/Checker/PathSensitive/SymbolManager.h b/include/clang/GR/PathSensitive/SymbolManager.h index 948795b40f..948795b40f 100644 --- a/include/clang/Checker/PathSensitive/SymbolManager.h +++ b/include/clang/GR/PathSensitive/SymbolManager.h diff --git a/lib/Checker/AdjustedReturnValueChecker.cpp b/lib/Checker/AdjustedReturnValueChecker.cpp index 0f7e59c0f5..281d74f926 100644 --- a/lib/Checker/AdjustedReturnValueChecker.cpp +++ b/lib/Checker/AdjustedReturnValueChecker.cpp @@ -14,9 +14,9 @@ //===----------------------------------------------------------------------===// #include "GRExprEngineInternalChecks.h" -#include "clang/Checker/BugReporter/BugReporter.h" -#include "clang/Checker/PathSensitive/GRExprEngine.h" -#include "clang/Checker/PathSensitive/CheckerVisitor.h" +#include "clang/GR/BugReporter/BugReporter.h" +#include "clang/GR/PathSensitive/GRExprEngine.h" +#include "clang/GR/PathSensitive/CheckerVisitor.h" using namespace clang; diff --git a/lib/Checker/AggExprVisitor.cpp b/lib/Checker/AggExprVisitor.cpp index f31bcec73a..b8ec92ff81 100644 --- a/lib/Checker/AggExprVisitor.cpp +++ b/lib/Checker/AggExprVisitor.cpp @@ -12,7 +12,7 @@ // //===----------------------------------------------------------------------===// -#include "clang/Checker/PathSensitive/GRExprEngine.h" +#include "clang/GR/PathSensitive/GRExprEngine.h" #include "clang/AST/StmtVisitor.h" using namespace clang; diff --git a/lib/Checker/AnalysisConsumer.cpp b/lib/Checker/AnalysisConsumer.cpp index 52066f14aa..839ce044fd 100644 --- a/lib/Checker/AnalysisConsumer.cpp +++ b/lib/Checker/AnalysisConsumer.cpp @@ -11,7 +11,7 @@ // //===----------------------------------------------------------------------===// -#include "clang/Checker/AnalysisConsumer.h" +#include "clang/GR/AnalysisConsumer.h" #include "clang/AST/ASTConsumer.h" #include "clang/AST/Decl.h" #include "clang/AST/DeclCXX.h" @@ -20,14 +20,14 @@ #include "clang/Analysis/Analyses/LiveVariables.h" #include "clang/Analysis/Analyses/UninitializedValues.h" #include "clang/Analysis/CFG.h" -#include "clang/Checker/Checkers/LocalCheckers.h" -#include "clang/Checker/ManagerRegistry.h" -#include "clang/Checker/BugReporter/PathDiagnostic.h" -#include "clang/Checker/PathSensitive/AnalysisManager.h" -#include "clang/Checker/BugReporter/BugReporter.h" -#include "clang/Checker/PathSensitive/GRExprEngine.h" -#include "clang/Checker/PathSensitive/GRTransferFuncs.h" -#include "clang/Checker/PathDiagnosticClients.h" +#include "clang/GR/Checkers/LocalCheckers.h" +#include "clang/GR/ManagerRegistry.h" +#include "clang/GR/BugReporter/PathDiagnostic.h" +#include "clang/GR/PathSensitive/AnalysisManager.h" +#include "clang/GR/BugReporter/BugReporter.h" +#include "clang/GR/PathSensitive/GRExprEngine.h" +#include "clang/GR/PathSensitive/GRTransferFuncs.h" +#include "clang/GR/PathDiagnosticClients.h" #include "GRExprEngineExperimentalChecks.h" #include "GRExprEngineInternalChecks.h" #include "clang/Basic/FileManager.h" diff --git a/lib/Checker/AnalysisManager.cpp b/lib/Checker/AnalysisManager.cpp index 1bc22a320b..736cf1d7b1 100644 --- a/lib/Checker/AnalysisManager.cpp +++ b/lib/Checker/AnalysisManager.cpp @@ -7,7 +7,7 @@ // //===----------------------------------------------------------------------===// -#include "clang/Checker/PathSensitive/AnalysisManager.h" +#include "clang/GR/PathSensitive/AnalysisManager.h" #include "clang/Index/Entity.h" #include "clang/Index/Indexer.h" diff --git a/lib/Checker/AnalyzerStatsChecker.cpp b/lib/Checker/AnalyzerStatsChecker.cpp index c484537e95..2a229cc7e9 100644 --- a/lib/Checker/AnalyzerStatsChecker.cpp +++ b/lib/Checker/AnalyzerStatsChecker.cpp @@ -9,9 +9,9 @@ // This file reports various statistics about analyzer visitation. //===----------------------------------------------------------------------===// -#include "clang/Checker/PathSensitive/CheckerVisitor.h" -#include "clang/Checker/PathSensitive/ExplodedGraph.h" -#include "clang/Checker/BugReporter/BugReporter.h" +#include "clang/GR/PathSensitive/CheckerVisitor.h" +#include "clang/GR/PathSensitive/ExplodedGraph.h" +#include "clang/GR/BugReporter/BugReporter.h" #include "GRExprEngineExperimentalChecks.h" #include "clang/Basic/SourceManager.h" #include "llvm/ADT/SmallPtrSet.h" diff --git a/lib/Checker/ArrayBoundChecker.cpp b/lib/Checker/ArrayBoundChecker.cpp index df21595a41..a36e13e4fe 100644 --- a/lib/Checker/ArrayBoundChecker.cpp +++ b/lib/Checker/ArrayBoundChecker.cpp @@ -13,9 +13,9 @@ //===----------------------------------------------------------------------===// #include "GRExprEngineInternalChecks.h" -#include "clang/Checker/BugReporter/BugType.h" -#include "clang/Checker/PathSensitive/CheckerVisitor.h" -#include "clang/Checker/PathSensitive/GRExprEngine.h" +#include "clang/GR/BugReporter/BugType.h" +#include "clang/GR/PathSensitive/CheckerVisitor.h" +#include "clang/GR/PathSensitive/GRExprEngine.h" using namespace clang; diff --git a/lib/Checker/AttrNonNullChecker.cpp b/lib/Checker/AttrNonNullChecker.cpp index 85d7fda6d1..5be12783bd 100644 --- a/lib/Checker/AttrNonNullChecker.cpp +++ b/lib/Checker/AttrNonNullChecker.cpp @@ -13,8 +13,8 @@ //===----------------------------------------------------------------------===// #include "GRExprEngineInternalChecks.h" -#include "clang/Checker/BugReporter/BugType.h" -#include "clang/Checker/PathSensitive/CheckerVisitor.h" +#include "clang/GR/BugReporter/BugType.h" +#include "clang/GR/PathSensitive/CheckerVisitor.h" using namespace clang; diff --git a/lib/Checker/BasicConstraintManager.cpp b/lib/Checker/BasicConstraintManager.cpp index 862b59babd..0166968151 100644 --- a/lib/Checker/BasicConstraintManager.cpp +++ b/lib/Checker/BasicConstraintManager.cpp @@ -13,9 +13,9 @@ //===----------------------------------------------------------------------===// #include "SimpleConstraintManager.h" -#include "clang/Checker/PathSensitive/GRState.h" -#include "clang/Checker/PathSensitive/GRStateTrait.h" -#include "clang/Checker/PathSensitive/GRTransferFuncs.h" +#include "clang/GR/PathSensitive/GRState.h" +#include "clang/GR/PathSensitive/GRStateTrait.h" +#include "clang/GR/PathSensitive/GRTransferFuncs.h" #include "llvm/Support/raw_ostream.h" using namespace clang; diff --git a/lib/Checker/BasicObjCFoundationChecks.cpp b/lib/Checker/BasicObjCFoundationChecks.cpp index 8009bf1d65..dc53695704 100644 --- a/lib/Checker/BasicObjCFoundationChecks.cpp +++ b/lib/Checker/BasicObjCFoundationChecks.cpp @@ -15,14 +15,14 @@ #include "BasicObjCFoundationChecks.h" -#include "clang/Checker/PathSensitive/ExplodedGraph.h" -#include "clang/Checker/PathSensitive/CheckerVisitor.h" -#include "clang/Checker/PathSensitive/GRExprEngine.h" -#include "clang/Checker/PathSensitive/GRState.h" -#include "clang/Checker/BugReporter/BugType.h" -#include "clang/Checker/PathSensitive/MemRegion.h" -#include "clang/Checker/PathSensitive/CheckerVisitor.h" -#include "clang/Checker/Checkers/LocalCheckers.h" +#include "clang/GR/PathSensitive/ExplodedGraph.h" +#include "clang/GR/PathSensitive/CheckerVisitor.h" +#include "clang/GR/PathSensitive/GRExprEngine.h" +#include "clang/GR/PathSensitive/GRState.h" +#include "clang/GR/BugReporter/BugType.h" +#include "clang/GR/PathSensitive/MemRegion.h" +#include "clang/GR/PathSensitive/CheckerVisitor.h" +#include "clang/GR/Checkers/LocalCheckers.h" #include "clang/AST/DeclObjC.h" #include "clang/AST/Expr.h" #include "clang/AST/ExprObjC.h" diff --git a/lib/Checker/BasicStore.cpp b/lib/Checker/BasicStore.cpp index bf6eedc578..e9e85b9bd1 100644 --- a/lib/Checker/BasicStore.cpp +++ b/lib/Checker/BasicStore.cpp @@ -15,7 +15,7 @@ #include "clang/AST/ExprObjC.h" #include "clang/Analysis/Analyses/LiveVariables.h" #include "clang/Analysis/AnalysisContext.h" -#include "clang/Checker/PathSensitive/GRState.h" +#include "clang/GR/PathSensitive/GRState.h" #include "llvm/ADT/ImmutableMap.h" using namespace clang; diff --git a/lib/Checker/BasicValueFactory.cpp b/lib/Checker/BasicValueFactory.cpp index c6b71a9b0d..9352816705 100644 --- a/lib/Checker/BasicValueFactory.cpp +++ b/lib/Checker/BasicValueFactory.cpp @@ -13,7 +13,7 @@ // //===----------------------------------------------------------------------===// -#include "clang/Checker/PathSensitive/BasicValueFactory.h" +#include "clang/GR/PathSensitive/BasicValueFactory.h" using namespace clang; diff --git a/lib/Checker/BugReporter.cpp b/lib/Checker/BugReporter.cpp index 2dcdb6177f..41381d7bb4 100644 --- a/lib/Checker/BugReporter.cpp +++ b/lib/Checker/BugReporter.cpp @@ -12,9 +12,9 @@ // //===----------------------------------------------------------------------===// -#include "clang/Checker/BugReporter/BugReporter.h" -#include "clang/Checker/BugReporter/BugType.h" -#include "clang/Checker/PathSensitive/GRExprEngine.h" +#include "clang/GR/BugReporter/BugReporter.h" +#include "clang/GR/BugReporter/BugType.h" +#include "clang/GR/PathSensitive/GRExprEngine.h" #include "clang/AST/ASTContext.h" #include "clang/Analysis/CFG.h" #include "clang/AST/Expr.h" @@ -22,7 +22,7 @@ #include "clang/AST/StmtObjC.h" #include "clang/Basic/SourceManager.h" #include "clang/Analysis/ProgramPoint.h" -#include "clang/Checker/BugReporter/PathDiagnostic.h" +#include "clang/GR/BugReporter/PathDiagnostic.h" #include "llvm/Support/raw_ostream.h" #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/STLExtras.h" diff --git a/lib/Checker/BugReporterVisitors.cpp b/lib/Checker/BugReporterVisitors.cpp index 20e1296997..6641006480 100644 --- a/lib/Checker/BugReporterVisitors.cpp +++ b/lib/Checker/BugReporterVisitors.cpp @@ -14,10 +14,10 @@ #include "clang/AST/Expr.h" #include "clang/AST/ExprObjC.h" -#include "clang/Checker/BugReporter/BugReporter.h" -#include "clang/Checker/BugReporter/PathDiagnostic.h" -#include "clang/Checker/PathSensitive/ExplodedGraph.h" -#include "clang/Checker/PathSensitive/GRState.h" +#include "clang/GR/BugReporter/BugReporter.h" +#include "clang/GR/BugReporter/PathDiagnostic.h" +#include "clang/GR/PathSensitive/ExplodedGraph.h" +#include "clang/GR/PathSensitive/GRState.h" using namespace clang; diff --git a/lib/Checker/BuiltinFunctionChecker.cpp b/lib/Checker/BuiltinFunctionChecker.cpp index 757f158e23..08fcbd6f4e 100644 --- a/lib/Checker/BuiltinFunctionChecker.cpp +++ b/lib/Checker/BuiltinFunctionChecker.cpp @@ -12,7 +12,7 @@ //===----------------------------------------------------------------------===// #include "GRExprEngineInternalChecks.h" -#include "clang/Checker/PathSensitive/Checker.h" +#include "clang/GR/PathSensitive/Checker.h" #include "clang/Basic/Builtins.h" using namespace clang; diff --git a/lib/Checker/CFRefCount.cpp b/lib/Checker/CFRefCount.cpp index e50081d84c..211c265961 100644 --- a/lib/Checker/CFRefCount.cpp +++ b/lib/Checker/CFRefCount.cpp @@ -16,15 +16,15 @@ #include "clang/AST/StmtVisitor.h" #include "clang/Basic/LangOptions.h" #include "clang/Basic/SourceManager.h" -#include "clang/Checker/BugReporter/BugType.h" -#include "clang/Checker/BugReporter/PathDiagnostic.h" -#include "clang/Checker/Checkers/LocalCheckers.h" +#include "clang/GR/BugReporter/BugType.h" +#include "clang/GR/BugReporter/PathDiagnostic.h" +#include "clang/GR/Checkers/LocalCheckers.h" #include "clang/Analysis/DomainSpecific/CocoaConventions.h" -#include "clang/Checker/PathSensitive/CheckerVisitor.h" -#include "clang/Checker/PathSensitive/GRExprEngineBuilders.h" -#include "clang/Checker/PathSensitive/GRStateTrait.h" -#include "clang/Checker/PathSensitive/GRTransferFuncs.h" -#include "clang/Checker/PathSensitive/SymbolManager.h" +#include "clang/GR/PathSensitive/CheckerVisitor.h" +#include "clang/GR/PathSensitive/GRExprEngineBuilders.h" +#include "clang/GR/PathSensitive/GRStateTrait.h" +#include "clang/GR/PathSensitive/GRTransferFuncs.h" +#include "clang/GR/PathSensitive/SymbolManager.h" #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/FoldingSet.h" #include "llvm/ADT/ImmutableList.h" diff --git a/lib/Checker/CStringChecker.cpp b/lib/Checker/CStringChecker.cpp index f3dd8033af..db4d86f0e3 100644 --- a/lib/Checker/CStringChecker.cpp +++ b/lib/Checker/CStringChecker.cpp @@ -13,9 +13,9 @@ //===----------------------------------------------------------------------===// #include "GRExprEngineExperimentalChecks.h" -#include "clang/Checker/BugReporter/BugType.h" -#include "clang/Checker/PathSensitive/CheckerVisitor.h" -#include "clang/Checker/PathSensitive/GRStateTrait.h" +#include "clang/GR/BugReporter/BugType.h" +#include "clang/GR/PathSensitive/CheckerVisitor.h" +#include "clang/GR/PathSensitive/GRStateTrait.h" #include "llvm/ADT/StringSwitch.h" using namespace clang; diff --git a/lib/Checker/CallAndMessageChecker.cpp b/lib/Checker/CallAndMessageChecker.cpp index 8bf1786c56..e68569ce7e 100644 --- a/lib/Checker/CallAndMessageChecker.cpp +++ b/lib/Checker/CallAndMessageChecker.cpp @@ -15,8 +15,8 @@ #include "GRExprEngineInternalChecks.h" #include "clang/AST/ParentMap.h" #include "clang/Basic/TargetInfo.h" -#include "clang/Checker/BugReporter/BugType.h" -#include "clang/Checker/PathSensitive/CheckerVisitor.h" +#include "clang/GR/BugReporter/BugType.h" +#include "clang/GR/PathSensitive/CheckerVisitor.h" using namespace clang; diff --git a/lib/Checker/CastSizeChecker.cpp b/lib/Checker/CastSizeChecker.cpp index e62a8ce456..1248d12c91 100644 --- a/lib/Checker/CastSizeChecker.cpp +++ b/lib/Checker/CastSizeChecker.cpp @@ -12,8 +12,8 @@ // //===----------------------------------------------------------------------===// #include "clang/AST/CharUnits.h" -#include "clang/Checker/BugReporter/BugType.h" -#include "clang/Checker/PathSensitive/CheckerVisitor.h" +#include "clang/GR/BugReporter/BugType.h" +#include "clang/GR/PathSensitive/CheckerVisitor.h" #include "GRExprEngineInternalChecks.h" using namespace clang; diff --git a/lib/Checker/CastToStructChecker.cpp b/lib/Checker/CastToStructChecker.cpp index f85782d81e..2a010b210b 100644 --- a/lib/Checker/CastToStructChecker.cpp +++ b/lib/Checker/CastToStructChecker.cpp @@ -13,8 +13,8 @@ // //===----------------------------------------------------------------------===// -#include "clang/Checker/BugReporter/BugType.h" -#include "clang/Checker/PathSensitive/CheckerVisitor.h" +#include "clang/GR/BugReporter/BugType.h" +#include "clang/GR/PathSensitive/CheckerVisitor.h" #include "GRExprEngineInternalChecks.h" using namespace clang; diff --git a/lib/Checker/CheckDeadStores.cpp b/lib/Checker/CheckDeadStores.cpp index 63b2f563ca..7e90781bd3 100644 --- a/lib/Checker/CheckDeadStores.cpp +++ b/lib/Checker/CheckDeadStores.cpp @@ -12,11 +12,11 @@ // //===----------------------------------------------------------------------===// -#include "clang/Checker/Checkers/LocalCheckers.h" +#include "clang/GR/Checkers/LocalCheckers.h" #include "clang/Analysis/Analyses/LiveVariables.h" #include "clang/Analysis/Visitors/CFGRecStmtVisitor.h" -#include "clang/Checker/BugReporter/BugReporter.h" -#include "clang/Checker/PathSensitive/GRExprEngine.h" +#include "clang/GR/BugReporter/BugReporter.h" +#include "clang/GR/PathSensitive/GRExprEngine.h" #include "clang/Analysis/Visitors/CFGRecStmtDeclVisitor.h" #include "clang/Basic/Diagnostic.h" #include "clang/AST/ASTContext.h" diff --git a/lib/Checker/CheckObjCDealloc.cpp b/lib/Checker/CheckObjCDealloc.cpp index 8ee6daa5c8..c3d511ba02 100644 --- a/lib/Checker/CheckObjCDealloc.cpp +++ b/lib/Checker/CheckObjCDealloc.cpp @@ -13,9 +13,9 @@ // //===----------------------------------------------------------------------===// -#include "clang/Checker/Checkers/LocalCheckers.h" -#include "clang/Checker/BugReporter/PathDiagnostic.h" -#include "clang/Checker/BugReporter/BugReporter.h" +#include "clang/GR/Checkers/LocalCheckers.h" +#include "clang/GR/BugReporter/PathDiagnostic.h" +#include "clang/GR/BugReporter/BugReporter.h" #include "clang/AST/ExprObjC.h" #include "clang/AST/Expr.h" #include "clang/AST/DeclObjC.h" diff --git a/lib/Checker/CheckObjCInstMethSignature.cpp b/lib/Checker/CheckObjCInstMethSignature.cpp index 76a092393b..2b83d13e75 100644 --- a/lib/Checker/CheckObjCInstMethSignature.cpp +++ b/lib/Checker/CheckObjCInstMethSignature.cpp @@ -13,9 +13,9 @@ // //===----------------------------------------------------------------------===// -#include "clang/Checker/Checkers/LocalCheckers.h" -#include "clang/Checker/BugReporter/PathDiagnostic.h" -#include "clang/Checker/BugReporter/BugReporter.h" +#include "clang/GR/Checkers/LocalCheckers.h" +#include "clang/GR/BugReporter/PathDiagnostic.h" +#include "clang/GR/BugReporter/BugReporter.h" #include "clang/AST/DeclObjC.h" #include "clang/AST/Type.h" #include "clang/AST/ASTContext.h" diff --git a/lib/Checker/CheckSecuritySyntaxOnly.cpp b/lib/Checker/CheckSecuritySyntaxOnly.cpp index 6090fa5baf..bdf18ca760 100644 --- a/lib/Checker/CheckSecuritySyntaxOnly.cpp +++ b/lib/Checker/CheckSecuritySyntaxOnly.cpp @@ -12,8 +12,8 @@ //===----------------------------------------------------------------------===// #include "clang/Basic/TargetInfo.h" -#include "clang/Checker/BugReporter/BugReporter.h" -#include "clang/Checker/Checkers/LocalCheckers.h" +#include "clang/GR/BugReporter/BugReporter.h" +#include "clang/GR/Checkers/LocalCheckers.h" #include "clang/AST/StmtVisitor.h" #include "llvm/Support/raw_ostream.h" diff --git a/lib/Checker/CheckSizeofPointer.cpp b/lib/Checker/CheckSizeofPointer.cpp index bbe494c99d..4cf5eb7006 100644 --- a/lib/Checker/CheckSizeofPointer.cpp +++ b/lib/Checker/CheckSizeofPointer.cpp @@ -12,9 +12,9 @@ // //===----------------------------------------------------------------------===// -#include "clang/Checker/BugReporter/BugReporter.h" +#include "clang/GR/BugReporter/BugReporter.h" #include "clang/AST/StmtVisitor.h" -#include "clang/Checker/Checkers/LocalCheckers.h" +#include "clang/GR/Checkers/LocalCheckers.h" using namespace clang; diff --git a/lib/Checker/Checker.cpp b/lib/Checker/Checker.cpp index 36323b9efb..00976dbced 100644 --- a/lib/Checker/Checker.cpp +++ b/lib/Checker/Checker.cpp @@ -12,7 +12,7 @@ // //===----------------------------------------------------------------------===// -#include "clang/Checker/PathSensitive/Checker.h" +#include "clang/GR/PathSensitive/Checker.h" using namespace clang; Checker::~Checker() {} diff --git a/lib/Checker/CheckerHelpers.cpp b/lib/Checker/CheckerHelpers.cpp index ece69435ca..3819ed30ab 100644 --- a/lib/Checker/CheckerHelpers.cpp +++ b/lib/Checker/CheckerHelpers.cpp @@ -11,7 +11,7 @@ // //===----------------------------------------------------------------------===// -#include "clang/Checker/PathSensitive/CheckerHelpers.h" +#include "clang/GR/PathSensitive/CheckerHelpers.h" #include "clang/AST/Expr.h" // Recursively find any substatements containing macros diff --git a/lib/Checker/ChrootChecker.cpp b/lib/Checker/ChrootChecker.cpp index f28ebadb08..2108094ae1 100644 --- a/lib/Checker/ChrootChecker.cpp +++ b/lib/Checker/ChrootChecker.cpp @@ -12,11 +12,11 @@ //===----------------------------------------------------------------------===// #include "GRExprEngineExperimentalChecks.h" -#include "clang/Checker/BugReporter/BugType.h" -#include "clang/Checker/PathSensitive/CheckerVisitor.h" -#include "clang/Checker/PathSensitive/GRState.h" -#include "clang/Checker/PathSensitive/GRStateTrait.h" -#include "clang/Checker/PathSensitive/SymbolManager.h" +#include "clang/GR/BugReporter/BugType.h" +#include "clang/GR/PathSensitive/CheckerVisitor.h" +#include "clang/GR/PathSensitive/GRState.h" +#include "clang/GR/PathSensitive/GRStateTrait.h" +#include "clang/GR/PathSensitive/SymbolManager.h" #include "llvm/ADT/ImmutableMap.h" using namespace clang; diff --git a/lib/Checker/DereferenceChecker.cpp b/lib/Checker/DereferenceChecker.cpp index 5938ca1824..72c88b1a3c 100644 --- a/lib/Checker/DereferenceChecker.cpp +++ b/lib/Checker/DereferenceChecker.cpp @@ -13,10 +13,10 @@ //===----------------------------------------------------------------------===// #include "GRExprEngineInternalChecks.h" -#include "clang/Checker/BugReporter/BugType.h" -#include "clang/Checker/Checkers/DereferenceChecker.h" -#include "clang/Checker/PathSensitive/Checker.h" -#include "clang/Checker/PathSensitive/GRExprEngine.h" +#include "clang/GR/BugReporter/BugType.h" +#include "clang/GR/Checkers/DereferenceChecker.h" +#include "clang/GR/PathSensitive/Checker.h" +#include "clang/GR/PathSensitive/GRExprEngine.h" using namespace clang; diff --git a/lib/Checker/DivZeroChecker.cpp b/lib/Checker/DivZeroChecker.cpp index 7df902a99b..e76d84672f 100644 --- a/lib/Checker/DivZeroChecker.cpp +++ b/lib/Checker/DivZeroChecker.cpp @@ -13,8 +13,8 @@ //===----------------------------------------------------------------------===// #include "GRExprEngineInternalChecks.h" -#include "clang/Checker/BugReporter/BugType.h" -#include "clang/Checker/PathSensitive/CheckerVisitor.h" +#include "clang/GR/BugReporter/BugType.h" +#include "clang/GR/PathSensitive/CheckerVisitor.h" using namespace clang; diff --git a/lib/Checker/Environment.cpp b/lib/Checker/Environment.cpp index 7bf2929161..5846d6acee 100644 --- a/lib/Checker/Environment.cpp +++ b/lib/Checker/Environment.cpp @@ -13,7 +13,7 @@ #include "clang/Analysis/AnalysisContext.h" #include "clang/Analysis/CFG.h" -#include "clang/Checker/PathSensitive/GRState.h" +#include "clang/GR/PathSensitive/GRState.h" using namespace clang; diff --git a/lib/Checker/ExplodedGraph.cpp b/lib/Checker/ExplodedGraph.cpp index 20429b9519..6890ebf2fc 100644 --- a/lib/Checker/ExplodedGraph.cpp +++ b/lib/Checker/ExplodedGraph.cpp @@ -12,8 +12,8 @@ // //===----------------------------------------------------------------------===// -#include "clang/Checker/PathSensitive/ExplodedGraph.h" -#include "clang/Checker/PathSensitive/GRState.h" +#include "clang/GR/PathSensitive/ExplodedGraph.h" +#include "clang/GR/PathSensitive/GRState.h" #include "clang/AST/Stmt.h" #include "llvm/ADT/DenseSet.h" #include "llvm/ADT/DenseMap.h" diff --git a/lib/Checker/FixedAddressChecker.cpp b/lib/Checker/FixedAddressChecker.cpp index 2237768beb..ede6b555d4 100644 --- a/lib/Checker/FixedAddressChecker.cpp +++ b/lib/Checker/FixedAddressChecker.cpp @@ -14,8 +14,8 @@ //===----------------------------------------------------------------------===// #include "GRExprEngineInternalChecks.h" -#include "clang/Checker/BugReporter/BugType.h" -#include "clang/Checker/PathSensitive/CheckerVisitor.h" +#include "clang/GR/BugReporter/BugType.h" +#include "clang/GR/PathSensitive/CheckerVisitor.h" using namespace clang; diff --git a/lib/Checker/FlatStore.cpp b/lib/Checker/FlatStore.cpp index 6053f33ad5..6e70f61be6 100644 --- a/lib/Checker/FlatStore.cpp +++ b/lib/Checker/FlatStore.cpp @@ -7,7 +7,7 @@ // //===----------------------------------------------------------------------===// -#include "clang/Checker/PathSensitive/GRState.h" +#include "clang/GR/PathSensitive/GRState.h" #include "llvm/ADT/ImmutableIntervalMap.h" #include "llvm/Support/ErrorHandling.h" diff --git a/lib/Checker/FrontendActions.cpp b/lib/Checker/FrontendActions.cpp index d9a54a021b..e3ef60b512 100644 --- a/lib/Checker/FrontendActions.cpp +++ b/lib/Checker/FrontendActions.cpp @@ -7,9 +7,9 @@ // //===----------------------------------------------------------------------===// -#include "clang/Checker/FrontendActions.h" +#include "clang/GR/FrontendActions.h" #include "clang/Frontend/CompilerInstance.h" -#include "clang/Checker/AnalysisConsumer.h" +#include "clang/GR/AnalysisConsumer.h" using namespace clang; ASTConsumer *AnalysisAction::CreateASTConsumer(CompilerInstance &CI, diff --git a/lib/Checker/GRBlockCounter.cpp b/lib/Checker/GRBlockCounter.cpp index 75fb16a2d5..6a1991750d 100644 --- a/lib/Checker/GRBlockCounter.cpp +++ b/lib/Checker/GRBlockCounter.cpp @@ -13,7 +13,7 @@ // //===----------------------------------------------------------------------===// -#include "clang/Checker/PathSensitive/GRBlockCounter.h" +#include "clang/GR/PathSensitive/GRBlockCounter.h" #include "llvm/ADT/ImmutableMap.h" using namespace clang; diff --git a/lib/Checker/GRCXXExprEngine.cpp b/lib/Checker/GRCXXExprEngine.cpp index 0e2ac04efb..73b8b271ae 100644 --- a/lib/Checker/GRCXXExprEngine.cpp +++ b/lib/Checker/GRCXXExprEngine.cpp @@ -11,8 +11,8 @@ // //===----------------------------------------------------------------------===// -#include "clang/Checker/PathSensitive/AnalysisManager.h" -#include "clang/Checker/PathSensitive/GRExprEngine.h" +#include "clang/GR/PathSensitive/AnalysisManager.h" +#include "clang/GR/PathSensitive/GRExprEngine.h" #include "clang/AST/DeclCXX.h" using namespace clang; diff --git a/lib/Checker/GRCoreEngine.cpp b/lib/Checker/GRCoreEngine.cpp index 1274f25880..9f34e89d9e 100644 --- a/lib/Checker/GRCoreEngine.cpp +++ b/lib/Checker/GRCoreEngine.cpp @@ -12,9 +12,9 @@ // //===----------------------------------------------------------------------===// -#include "clang/Checker/PathSensitive/AnalysisManager.h" -#include "clang/Checker/PathSensitive/GRCoreEngine.h" -#include "clang/Checker/PathSensitive/GRExprEngine.h" +#include "clang/GR/PathSensitive/AnalysisManager.h" +#include "clang/GR/PathSensitive/GRCoreEngine.h" +#include "clang/GR/PathSensitive/GRExprEngine.h" #include "clang/Index/TranslationUnit.h" #include "clang/AST/Expr.h" #include "llvm/Support/Casting.h" diff --git a/lib/Checker/GRExprEngine.cpp b/lib/Checker/GRExprEngine.cpp index 41a89e7b39..da32592990 100644 --- a/lib/Checker/GRExprEngine.cpp +++ b/lib/Checker/GRExprEngine.cpp @@ -13,11 +13,11 @@ // //===----------------------------------------------------------------------===// #include "GRExprEngineInternalChecks.h" -#include "clang/Checker/BugReporter/BugType.h" -#include "clang/Checker/PathSensitive/AnalysisManager.h" -#include "clang/Checker/PathSensitive/GRExprEngine.h" -#include "clang/Checker/PathSensitive/GRExprEngineBuilders.h" -#include "clang/Checker/PathSensitive/Checker.h" +#include "clang/GR/BugReporter/BugType.h" +#include "clang/GR/PathSensitive/AnalysisManager.h" +#include "clang/GR/PathSensitive/GRExprEngine.h" +#include "clang/GR/PathSensitive/GRExprEngineBuilders.h" +#include "clang/GR/PathSensitive/Checker.h" #include "clang/AST/CharUnits.h" #include "clang/AST/ParentMap.h" #include "clang/AST/StmtObjC.h" diff --git a/lib/Checker/GRExprEngineExperimentalChecks.cpp b/lib/Checker/GRExprEngineExperimentalChecks.cpp index 6f70286e9b..f1acc65d76 100644 --- a/lib/Checker/GRExprEngineExperimentalChecks.cpp +++ b/lib/Checker/GRExprEngineExperimentalChecks.cpp @@ -14,7 +14,7 @@ #include "GRExprEngineInternalChecks.h" #include "GRExprEngineExperimentalChecks.h" -#include "clang/Checker/Checkers/LocalCheckers.h" +#include "clang/GR/Checkers/LocalCheckers.h" using namespace clang; diff --git a/lib/Checker/GRState.cpp b/lib/Checker/GRState.cpp index 3282664cda..164cd8c966 100644 --- a/lib/Checker/GRState.cpp +++ b/lib/Checker/GRState.cpp @@ -12,10 +12,10 @@ //===----------------------------------------------------------------------===// #include "clang/Analysis/CFG.h" -#include "clang/Checker/PathSensitive/GRStateTrait.h" -#include "clang/Checker/PathSensitive/GRState.h" -#include "clang/Checker/PathSensitive/GRSubEngine.h" -#include "clang/Checker/PathSensitive/GRTransferFuncs.h" +#include "clang/GR/PathSensitive/GRStateTrait.h" +#include "clang/GR/PathSensitive/GRState.h" +#include "clang/GR/PathSensitive/GRSubEngine.h" +#include "clang/GR/PathSensitive/GRTransferFuncs.h" #include "llvm/Support/raw_ostream.h" using namespace clang; diff --git a/lib/Checker/HTMLDiagnostics.cpp b/lib/Checker/HTMLDiagnostics.cpp index 7fcb0256dd..0db63c70e2 100644 --- a/lib/Checker/HTMLDiagnostics.cpp +++ b/lib/Checker/HTMLDiagnostics.cpp @@ -11,8 +11,8 @@ // //===----------------------------------------------------------------------===// -#include "clang/Checker/PathDiagnosticClients.h" -#include "clang/Checker/BugReporter/PathDiagnostic.h" +#include "clang/GR/PathDiagnosticClients.h" +#include "clang/GR/BugReporter/PathDiagnostic.h" #include "clang/AST/ASTContext.h" #include "clang/AST/Decl.h" #include "clang/Basic/SourceManager.h" diff --git a/lib/Checker/IdempotentOperationChecker.cpp b/lib/Checker/IdempotentOperationChecker.cpp index fbf25ba4a8..e6f0e5de06 100644 --- a/lib/Checker/IdempotentOperationChecker.cpp +++ b/lib/Checker/IdempotentOperationChecker.cpp @@ -45,12 +45,12 @@ #include "GRExprEngineExperimentalChecks.h" #include "clang/Analysis/CFGStmtMap.h" #include "clang/Analysis/Analyses/PseudoConstantAnalysis.h" -#include "clang/Checker/BugReporter/BugReporter.h" -#include "clang/Checker/BugReporter/BugType.h" -#include "clang/Checker/PathSensitive/CheckerHelpers.h" -#include "clang/Checker/PathSensitive/CheckerVisitor.h" -#include "clang/Checker/PathSensitive/GRCoreEngine.h" -#include "clang/Checker/PathSensitive/SVals.h" +#include "clang/GR/BugReporter/BugReporter.h" +#include "clang/GR/BugReporter/BugType.h" +#include "clang/GR/PathSensitive/CheckerHelpers.h" +#include "clang/GR/PathSensitive/CheckerVisitor.h" +#include "clang/GR/PathSensitive/GRCoreEngine.h" +#include "clang/GR/PathSensitive/SVals.h" #include "clang/AST/Stmt.h" #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/SmallSet.h" diff --git a/lib/Checker/LLVMConventionsChecker.cpp b/lib/Checker/LLVMConventionsChecker.cpp index efc1d9820a..e97074e542 100644 --- a/lib/Checker/LLVMConventionsChecker.cpp +++ b/lib/Checker/LLVMConventionsChecker.cpp @@ -14,8 +14,8 @@ #include "clang/AST/DeclTemplate.h" #include "clang/AST/StmtVisitor.h" -#include "clang/Checker/Checkers/LocalCheckers.h" -#include "clang/Checker/BugReporter/BugReporter.h" +#include "clang/GR/Checkers/LocalCheckers.h" +#include "clang/GR/BugReporter/BugReporter.h" #include <string> #include "llvm/ADT/StringRef.h" diff --git a/lib/Checker/MacOSXAPIChecker.cpp b/lib/Checker/MacOSXAPIChecker.cpp index edd1d4e2fe..c798cb291f 100644 --- a/lib/Checker/MacOSXAPIChecker.cpp +++ b/lib/Checker/MacOSXAPIChecker.cpp @@ -17,9 +17,9 @@ #include "GRExprEngineInternalChecks.h" #include "clang/Basic/TargetInfo.h" -#include "clang/Checker/BugReporter/BugType.h" -#include "clang/Checker/PathSensitive/CheckerVisitor.h" -#include "clang/Checker/PathSensitive/GRStateTrait.h" +#include "clang/GR/BugReporter/BugType.h" +#include "clang/GR/PathSensitive/CheckerVisitor.h" +#include "clang/GR/PathSensitive/GRStateTrait.h" #include "llvm/ADT/SmallString.h" #include "llvm/ADT/StringSwitch.h" #include "llvm/Support/raw_ostream.h" diff --git a/lib/Checker/MallocChecker.cpp b/lib/Checker/MallocChecker.cpp index 3cc3670645..367ac245c1 100644 --- a/lib/Checker/MallocChecker.cpp +++ b/lib/Checker/MallocChecker.cpp @@ -13,11 +13,11 @@ //===----------------------------------------------------------------------===// #include "GRExprEngineExperimentalChecks.h" -#include "clang/Checker/BugReporter/BugType.h" -#include "clang/Checker/PathSensitive/CheckerVisitor.h" -#include "clang/Checker/PathSensitive/GRState.h" -#include "clang/Checker/PathSensitive/GRStateTrait.h" -#include "clang/Checker/PathSensitive/SymbolManager.h" +#include "clang/GR/BugReporter/BugType.h" +#include "clang/GR/PathSensitive/CheckerVisitor.h" +#include "clang/GR/PathSensitive/GRState.h" +#include "clang/GR/PathSensitive/GRStateTrait.h" +#include "clang/GR/PathSensitive/SymbolManager.h" #include "llvm/ADT/ImmutableMap.h" using namespace clang; diff --git a/lib/Checker/ManagerRegistry.cpp b/lib/Checker/ManagerRegistry.cpp index d11a997cc0..b1920e1aab 100644 --- a/lib/Checker/ManagerRegistry.cpp +++ b/lib/Checker/ManagerRegistry.cpp @@ -11,7 +11,7 @@ // //===----------------------------------------------------------------------===// -#include "clang/Checker/ManagerRegistry.h" +#include "clang/GR/ManagerRegistry.h" using namespace clang; diff --git a/lib/Checker/MemRegion.cpp b/lib/Checker/MemRegion.cpp index b08a53ffe7..a1dee535f2 100644 --- a/lib/Checker/MemRegion.cpp +++ b/lib/Checker/MemRegion.cpp @@ -13,8 +13,8 @@ // //===----------------------------------------------------------------------===// -#include "clang/Checker/PathSensitive/MemRegion.h" -#include "clang/Checker/PathSensitive/SValBuilder.h" +#include "clang/GR/PathSensitive/MemRegion.h" +#include "clang/GR/PathSensitive/SValBuilder.h" #include "clang/Analysis/AnalysisContext.h" #include "clang/Analysis/Support/BumpVector.h" #include "clang/AST/CharUnits.h" diff --git a/lib/Checker/NSAutoreleasePoolChecker.cpp b/lib/Checker/NSAutoreleasePoolChecker.cpp index 48f03a369e..d8225a7e4e 100644 --- a/lib/Checker/NSAutoreleasePoolChecker.cpp +++ b/lib/Checker/NSAutoreleasePoolChecker.cpp @@ -15,9 +15,9 @@ // //===----------------------------------------------------------------------===// -#include "clang/Checker/BugReporter/BugReporter.h" -#include "clang/Checker/PathSensitive/GRExprEngine.h" -#include "clang/Checker/PathSensitive/CheckerVisitor.h" +#include "clang/GR/BugReporter/BugReporter.h" +#include "clang/GR/PathSensitive/GRExprEngine.h" +#include "clang/GR/PathSensitive/CheckerVisitor.h" #include "BasicObjCFoundationChecks.h" #include "clang/AST/DeclObjC.h" #include "clang/AST/Decl.h" diff --git a/lib/Checker/NSErrorChecker.cpp b/lib/Checker/NSErrorChecker.cpp index e30d54ccd7..73caf774bf 100644 --- a/lib/Checker/NSErrorChecker.cpp +++ b/lib/Checker/NSErrorChecker.cpp @@ -15,10 +15,10 @@ // //===----------------------------------------------------------------------===// -#include "clang/Checker/Checkers/LocalCheckers.h" -#include "clang/Checker/BugReporter/BugType.h" -#include "clang/Checker/PathSensitive/GRExprEngine.h" -#include "clang/Checker/Checkers/DereferenceChecker.h" +#include "clang/GR/Checkers/LocalCheckers.h" +#include "clang/GR/BugReporter/BugType.h" +#include "clang/GR/PathSensitive/GRExprEngine.h" +#include "clang/GR/Checkers/DereferenceChecker.h" #include "BasicObjCFoundationChecks.h" #include "clang/AST/DeclObjC.h" #include "clang/AST/Decl.h" diff --git a/lib/Checker/NoReturnFunctionChecker.cpp b/lib/Checker/NoReturnFunctionChecker.cpp index a8ea44aec6..fdd2849719 100644 --- a/lib/Checker/NoReturnFunctionChecker.cpp +++ b/lib/Checker/NoReturnFunctionChecker.cpp @@ -13,7 +13,7 @@ //===----------------------------------------------------------------------===// #include "GRExprEngineInternalChecks.h" -#include "clang/Checker/PathSensitive/CheckerVisitor.h" +#include "clang/GR/PathSensitive/CheckerVisitor.h" #include "llvm/ADT/StringSwitch.h" using namespace clang; diff --git a/lib/Checker/OSAtomicChecker.cpp b/lib/Checker/OSAtomicChecker.cpp index 6c1bffac2d..36b5335d88 100644 --- a/lib/Checker/OSAtomicChecker.cpp +++ b/lib/Checker/OSAtomicChecker.cpp @@ -12,7 +12,7 @@ //===----------------------------------------------------------------------===// #include "GRExprEngineInternalChecks.h" -#include "clang/Checker/PathSensitive/Checker.h" +#include "clang/GR/PathSensitive/Checker.h" #include "clang/Basic/Builtins.h" using namespace clang; diff --git a/lib/Checker/ObjCAtSyncChecker.cpp b/lib/Checker/ObjCAtSyncChecker.cpp index f26762895d..c95df4ef4b 100644 --- a/lib/Checker/ObjCAtSyncChecker.cpp +++ b/lib/Checker/ObjCAtSyncChecker.cpp @@ -13,10 +13,10 @@ //===----------------------------------------------------------------------===// #include "GRExprEngineInternalChecks.h" -#include "clang/Checker/BugReporter/BugType.h" -#include "clang/Checker/Checkers/DereferenceChecker.h" -#include "clang/Checker/PathSensitive/CheckerVisitor.h" -#include "clang/Checker/PathSensitive/GRExprEngine.h" +#include "clang/GR/BugReporter/BugType.h" +#include "clang/GR/Checkers/DereferenceChecker.h" +#include "clang/GR/PathSensitive/CheckerVisitor.h" +#include "clang/GR/PathSensitive/GRExprEngine.h" using namespace clang; diff --git a/lib/Checker/ObjCUnusedIVarsChecker.cpp b/lib/Checker/ObjCUnusedIVarsChecker.cpp index edeba74ae8..e3f5d565e7 100644 --- a/lib/Checker/ObjCUnusedIVarsChecker.cpp +++ b/lib/Checker/ObjCUnusedIVarsChecker.cpp @@ -13,9 +13,9 @@ // //===----------------------------------------------------------------------===// -#include "clang/Checker/Checkers/LocalCheckers.h" -#include "clang/Checker/BugReporter/PathDiagnostic.h" -#include "clang/Checker/BugReporter/BugReporter.h" +#include "clang/GR/Checkers/LocalCheckers.h" +#include "clang/GR/BugReporter/PathDiagnostic.h" +#include "clang/GR/BugReporter/BugReporter.h" #include "clang/AST/ExprObjC.h" #include "clang/AST/Expr.h" #include "clang/AST/DeclObjC.h" diff --git a/lib/Checker/PathDiagnostic.cpp b/lib/Checker/PathDiagnostic.cpp index 0f0dddc6d7..1710643423 100644 --- a/lib/Checker/PathDiagnostic.cpp +++ b/lib/Checker/PathDiagnostic.cpp @@ -11,7 +11,7 @@ // //===----------------------------------------------------------------------===// -#include "clang/Checker/BugReporter/PathDiagnostic.h" +#include "clang/GR/BugReporter/PathDiagnostic.h" #include "clang/AST/Expr.h" #include "clang/AST/Decl.h" #include "clang/AST/DeclObjC.h" diff --git a/lib/Checker/PlistDiagnostics.cpp b/lib/Checker/PlistDiagnostics.cpp index 3b3152f30d..5b91f6e78e 100644 --- a/lib/Checker/PlistDiagnostics.cpp +++ b/lib/Checker/PlistDiagnostics.cpp @@ -11,8 +11,8 @@ // //===----------------------------------------------------------------------===// -#include "clang/Checker/PathDiagnosticClients.h" -#include "clang/Checker/BugReporter/PathDiagnostic.h" +#include "clang/GR/PathDiagnosticClients.h" +#include "clang/GR/BugReporter/PathDiagnostic.h" #include "clang/Basic/SourceManager.h" #include "clang/Basic/FileManager.h" #include "clang/Lex/Preprocessor.h" diff --git a/lib/Checker/PointerArithChecker.cpp b/lib/Checker/PointerArithChecker.cpp index 29f90caf34..0517140da3 100644 --- a/lib/Checker/PointerArithChecker.cpp +++ b/lib/Checker/PointerArithChecker.cpp @@ -13,8 +13,8 @@ //===----------------------------------------------------------------------===// #include "GRExprEngineInternalChecks.h" -#include "clang/Checker/BugReporter/BugType.h" -#include "clang/Checker/PathSensitive/CheckerVisitor.h" +#include "clang/GR/BugReporter/BugType.h" +#include "clang/GR/PathSensitive/CheckerVisitor.h" using namespace clang; diff --git a/lib/Checker/PointerSubChecker.cpp b/lib/Checker/PointerSubChecker.cpp index e86710a0c5..24f839dca1 100644 --- a/lib/Checker/PointerSubChecker.cpp +++ b/lib/Checker/PointerSubChecker.cpp @@ -14,8 +14,8 @@ //===----------------------------------------------------------------------===// #include "GRExprEngineInternalChecks.h" -#include "clang/Checker/BugReporter/BugType.h" -#include "clang/Checker/PathSensitive/CheckerVisitor.h" +#include "clang/GR/BugReporter/BugType.h" +#include "clang/GR/PathSensitive/CheckerVisitor.h" using namespace clang; diff --git a/lib/Checker/PthreadLockChecker.cpp b/lib/Checker/PthreadLockChecker.cpp index ba445e0470..32f2f57b45 100644 --- a/lib/Checker/PthreadLockChecker.cpp +++ b/lib/Checker/PthreadLockChecker.cpp @@ -12,9 +12,9 @@ // //===----------------------------------------------------------------------===// -#include "clang/Checker/PathSensitive/CheckerVisitor.h" -#include "clang/Checker/BugReporter/BugReporter.h" -#include "clang/Checker/PathSensitive/GRStateTrait.h" +#include "clang/GR/PathSensitive/CheckerVisitor.h" +#include "clang/GR/BugReporter/BugReporter.h" +#include "clang/GR/PathSensitive/GRStateTrait.h" #include "GRExprEngineExperimentalChecks.h" #include "llvm/ADT/ImmutableSet.h" diff --git a/lib/Checker/RangeConstraintManager.cpp b/lib/Checker/RangeConstraintManager.cpp index e625ee2b90..423777e28d 100644 --- a/lib/Checker/RangeConstraintManager.cpp +++ b/lib/Checker/RangeConstraintManager.cpp @@ -13,10 +13,10 @@ //===----------------------------------------------------------------------===// #include "SimpleConstraintManager.h" -#include "clang/Checker/PathSensitive/GRState.h" -#include "clang/Checker/PathSensitive/GRStateTrait.h" -#include "clang/Checker/PathSensitive/GRTransferFuncs.h" -#include "clang/Checker/ManagerRegistry.h" +#include "clang/GR/PathSensitive/GRState.h" +#include "clang/GR/PathSensitive/GRStateTrait.h" +#include "clang/GR/PathSensitive/GRTransferFuncs.h" +#include "clang/GR/ManagerRegistry.h" #include "llvm/Support/Debug.h" #include "llvm/ADT/FoldingSet.h" #include "llvm/ADT/ImmutableSet.h" diff --git a/lib/Checker/RegionStore.cpp b/lib/Checker/RegionStore.cpp index b6f992995b..a310b19181 100644 --- a/lib/Checker/RegionStore.cpp +++ b/lib/Checker/RegionStore.cpp @@ -20,9 +20,9 @@ #include "clang/Analysis/Analyses/LiveVariables.h" #include "clang/Analysis/AnalysisContext.h" #include "clang/Basic/TargetInfo.h" -#include "clang/Checker/PathSensitive/GRState.h" -#include "clang/Checker/PathSensitive/GRStateTrait.h" -#include "clang/Checker/PathSensitive/MemRegion.h" +#include "clang/GR/PathSensitive/GRState.h" +#include "clang/GR/PathSensitive/GRStateTrait.h" +#include "clang/GR/PathSensitive/MemRegion.h" #include "llvm/ADT/ImmutableList.h" #include "llvm/ADT/ImmutableMap.h" #include "llvm/ADT/Optional.h" diff --git a/lib/Checker/ReturnPointerRangeChecker.cpp b/lib/Checker/ReturnPointerRangeChecker.cpp index dc0712d466..a2a9473b2c 100644 --- a/lib/Checker/ReturnPointerRangeChecker.cpp +++ b/lib/Checker/ReturnPointerRangeChecker.cpp @@ -13,9 +13,9 @@ //===----------------------------------------------------------------------===// #include "GRExprEngineInternalChecks.h" -#include "clang/Checker/BugReporter/BugType.h" -#include "clang/Checker/PathSensitive/CheckerVisitor.h" -#include "clang/Checker/PathSensitive/GRExprEngine.h" +#include "clang/GR/BugReporter/BugType.h" +#include "clang/GR/PathSensitive/CheckerVisitor.h" +#include "clang/GR/PathSensitive/GRExprEngine.h" using namespace clang; diff --git a/lib/Checker/ReturnUndefChecker.cpp b/lib/Checker/ReturnUndefChecker.cpp index 483421c859..f5e417a1f7 100644 --- a/lib/Checker/ReturnUndefChecker.cpp +++ b/lib/Checker/ReturnUndefChecker.cpp @@ -14,9 +14,9 @@ //===----------------------------------------------------------------------===// #include "GRExprEngineInternalChecks.h" -#include "clang/Checker/BugReporter/BugType.h" -#include "clang/Checker/PathSensitive/CheckerVisitor.h" -#include "clang/Checker/PathSensitive/GRExprEngine.h" +#include "clang/GR/BugReporter/BugType.h" +#include "clang/GR/PathSensitive/CheckerVisitor.h" +#include "clang/GR/PathSensitive/GRExprEngine.h" using namespace clang; diff --git a/lib/Checker/SValBuilder.cpp b/lib/Checker/SValBuilder.cpp index 7216b70d70..95829c2eab 100644 --- a/lib/Checker/SValBuilder.cpp +++ b/lib/Checker/SValBuilder.cpp @@ -12,11 +12,11 @@ // //===----------------------------------------------------------------------===// -#include "clang/Checker/PathSensitive/MemRegion.h" -#include "clang/Checker/PathSensitive/SVals.h" -#include "clang/Checker/PathSensitive/SValBuilder.h" -#include "clang/Checker/PathSensitive/GRState.h" -#include "clang/Checker/PathSensitive/BasicValueFactory.h" +#include "clang/GR/PathSensitive/MemRegion.h" +#include "clang/GR/PathSensitive/SVals.h" +#include "clang/GR/PathSensitive/SValBuilder.h" +#include "clang/GR/PathSensitive/GRState.h" +#include "clang/GR/PathSensitive/BasicValueFactory.h" using namespace clang; diff --git a/lib/Checker/SVals.cpp b/lib/Checker/SVals.cpp index 5d131ee198..deccc4b665 100644 --- a/lib/Checker/SVals.cpp +++ b/lib/Checker/SVals.cpp @@ -12,7 +12,7 @@ // //===----------------------------------------------------------------------===// -#include "clang/Checker/PathSensitive/GRState.h" +#include "clang/GR/PathSensitive/GRState.h" #include "clang/Basic/IdentifierTable.h" using namespace clang; diff --git a/lib/Checker/SimpleConstraintManager.cpp b/lib/Checker/SimpleConstraintManager.cpp index 9799aa8f96..7c246e4d27 100644 --- a/lib/Checker/SimpleConstraintManager.cpp +++ b/lib/Checker/SimpleConstraintManager.cpp @@ -13,9 +13,9 @@ //===----------------------------------------------------------------------===// #include "SimpleConstraintManager.h" -#include "clang/Checker/PathSensitive/GRExprEngine.h" -#include "clang/Checker/PathSensitive/GRState.h" -#include "clang/Checker/PathSensitive/Checker.h" +#include "clang/GR/PathSensitive/GRExprEngine.h" +#include "clang/GR/PathSensitive/GRState.h" +#include "clang/GR/PathSensitive/Checker.h" namespace clang { diff --git a/lib/Checker/SimpleConstraintManager.h b/lib/Checker/SimpleConstraintManager.h index 9d97512eb7..45742ebd7d 100644 --- a/lib/Checker/SimpleConstraintManager.h +++ b/lib/Checker/SimpleConstraintManager.h @@ -14,8 +14,8 @@ #ifndef LLVM_CLANG_ANALYSIS_SIMPLE_CONSTRAINT_MANAGER_H #define LLVM_CLANG_ANALYSIS_SIMPLE_CONSTRAINT_MANAGER_H -#include "clang/Checker/PathSensitive/ConstraintManager.h" -#include "clang/Checker/PathSensitive/GRState.h" +#include "clang/GR/PathSensitive/ConstraintManager.h" +#include "clang/GR/PathSensitive/GRState.h" namespace clang { diff --git a/lib/Checker/SimpleSValBuilder.cpp b/lib/Checker/SimpleSValBuilder.cpp index 6632c8eb1a..1beb0550e9 100644 --- a/lib/Checker/SimpleSValBuilder.cpp +++ b/lib/Checker/SimpleSValBuilder.cpp @@ -11,8 +11,8 @@ // //===----------------------------------------------------------------------===// -#include "clang/Checker/PathSensitive/SValBuilder.h" -#include "clang/Checker/PathSensitive/GRState.h" +#include "clang/GR/PathSensitive/SValBuilder.h" +#include "clang/GR/PathSensitive/GRState.h" using namespace clang; diff --git a/lib/Checker/StackAddrLeakChecker.cpp b/lib/Checker/StackAddrLeakChecker.cpp index 0e9c0ecab6..1852e24fa5 100644 --- a/lib/Checker/StackAddrLeakChecker.cpp +++ b/lib/Checker/StackAddrLeakChecker.cpp @@ -13,9 +13,9 @@ //===----------------------------------------------------------------------===// #include "GRExprEngineInternalChecks.h" -#include "clang/Checker/BugReporter/BugType.h" -#include "clang/Checker/PathSensitive/CheckerVisitor.h" -#include "clang/Checker/PathSensitive/GRState.h" +#include "clang/GR/BugReporter/BugType.h" +#include "clang/GR/PathSensitive/CheckerVisitor.h" +#include "clang/GR/PathSensitive/GRState.h" #include "clang/Basic/SourceManager.h" #include "llvm/ADT/SmallString.h" using namespace clang; diff --git a/lib/Checker/Store.cpp b/lib/Checker/Store.cpp index 55a0efaa45..df13ab42ef 100644 --- a/lib/Checker/Store.cpp +++ b/lib/Checker/Store.cpp @@ -11,8 +11,8 @@ // //===----------------------------------------------------------------------===// -#include "clang/Checker/PathSensitive/Store.h" -#include "clang/Checker/PathSensitive/GRState.h" +#include "clang/GR/PathSensitive/Store.h" +#include "clang/GR/PathSensitive/GRState.h" #include "clang/AST/CharUnits.h" using namespace clang; diff --git a/lib/Checker/StreamChecker.cpp b/lib/Checker/StreamChecker.cpp index b72ae9580b..dc7bd62933 100644 --- a/lib/Checker/StreamChecker.cpp +++ b/lib/Checker/StreamChecker.cpp @@ -12,11 +12,11 @@ //===----------------------------------------------------------------------===// #include "GRExprEngineExperimentalChecks.h" -#include "clang/Checker/BugReporter/BugType.h" -#include "clang/Checker/PathSensitive/CheckerVisitor.h" -#include "clang/Checker/PathSensitive/GRState.h" -#include "clang/Checker/PathSensitive/GRStateTrait.h" -#include "clang/Checker/PathSensitive/SymbolManager.h" +#include "clang/GR/BugReporter/BugType.h" +#include "clang/GR/PathSensitive/CheckerVisitor.h" +#include "clang/GR/PathSensitive/GRState.h" +#include "clang/GR/PathSensitive/GRStateTrait.h" +#include "clang/GR/PathSensitive/SymbolManager.h" #include "llvm/ADT/ImmutableMap.h" using namespace clang; diff --git a/lib/Checker/SymbolManager.cpp b/lib/Checker/SymbolManager.cpp index 3b1bb6d98d..8dcdb14414 100644 --- a/lib/Checker/SymbolManager.cpp +++ b/lib/Checker/SymbolManager.cpp @@ -12,9 +12,9 @@ // //===----------------------------------------------------------------------===// -#include "clang/Checker/PathSensitive/SymbolManager.h" +#include "clang/GR/PathSensitive/SymbolManager.h" #include "clang/Analysis/Analyses/LiveVariables.h" -#include "clang/Checker/PathSensitive/MemRegion.h" +#include "clang/GR/PathSensitive/MemRegion.h" #include "llvm/Support/raw_ostream.h" using namespace clang; diff --git a/lib/Checker/TextPathDiagnostics.cpp b/lib/Checker/TextPathDiagnostics.cpp index 0ed03e426d..343b21102b 100644 --- a/lib/Checker/TextPathDiagnostics.cpp +++ b/lib/Checker/TextPathDiagnostics.cpp @@ -11,8 +11,8 @@ // //===----------------------------------------------------------------------===// -#include "clang/Checker/PathDiagnosticClients.h" -#include "clang/Checker/BugReporter/PathDiagnostic.h" +#include "clang/GR/PathDiagnosticClients.h" +#include "clang/GR/BugReporter/PathDiagnostic.h" #include "clang/Lex/Preprocessor.h" #include "llvm/Support/raw_ostream.h" using namespace clang; diff --git a/lib/Checker/UndefBranchChecker.cpp b/lib/Checker/UndefBranchChecker.cpp index 1ff0641be5..ebeb7a429d 100644 --- a/lib/Checker/UndefBranchChecker.cpp +++ b/lib/Checker/UndefBranchChecker.cpp @@ -13,8 +13,8 @@ //===----------------------------------------------------------------------===// #include "GRExprEngineInternalChecks.h" -#include "clang/Checker/BugReporter/BugType.h" -#include "clang/Checker/PathSensitive/Checker.h" +#include "clang/GR/BugReporter/BugType.h" +#include "clang/GR/PathSensitive/Checker.h" using namespace clang; diff --git a/lib/Checker/UndefCapturedBlockVarChecker.cpp b/lib/Checker/UndefCapturedBlockVarChecker.cpp index bf788d0b81..78b8394407 100644 --- a/lib/Checker/UndefCapturedBlockVarChecker.cpp +++ b/lib/Checker/UndefCapturedBlockVarChecker.cpp @@ -12,9 +12,9 @@ //===----------------------------------------------------------------------===// #include "GRExprEngineInternalChecks.h" -#include "clang/Checker/PathSensitive/CheckerVisitor.h" -#include "clang/Checker/PathSensitive/GRExprEngine.h" -#include "clang/Checker/BugReporter/BugType.h" +#include "clang/GR/PathSensitive/CheckerVisitor.h" +#include "clang/GR/PathSensitive/GRExprEngine.h" +#include "clang/GR/BugReporter/BugType.h" #include "llvm/Support/raw_ostream.h" using namespace clang; diff --git a/lib/Checker/UndefResultChecker.cpp b/lib/Checker/UndefResultChecker.cpp index 851623aab5..df3ad3e9f8 100644 --- a/lib/Checker/UndefResultChecker.cpp +++ b/lib/Checker/UndefResultChecker.cpp @@ -13,9 +13,9 @@ //===----------------------------------------------------------------------===// #include "GRExprEngineInternalChecks.h" -#include "clang/Checker/BugReporter/BugType.h" -#include "clang/Checker/PathSensitive/CheckerVisitor.h" -#include "clang/Checker/PathSensitive/GRExprEngine.h" +#include "clang/GR/BugReporter/BugType.h" +#include "clang/GR/PathSensitive/CheckerVisitor.h" +#include "clang/GR/PathSensitive/GRExprEngine.h" using namespace clang; diff --git a/lib/Checker/UndefinedArraySubscriptChecker.cpp b/lib/Checker/UndefinedArraySubscriptChecker.cpp index 4d5eb53d0f..8ef3986b8d 100644 --- a/lib/Checker/UndefinedArraySubscriptChecker.cpp +++ b/lib/Checker/UndefinedArraySubscriptChecker.cpp @@ -13,8 +13,8 @@ //===----------------------------------------------------------------------===// #include "GRExprEngineInternalChecks.h" -#include "clang/Checker/BugReporter/BugType.h" -#include "clang/Checker/PathSensitive/CheckerVisitor.h" +#include "clang/GR/BugReporter/BugType.h" +#include "clang/GR/PathSensitive/CheckerVisitor.h" using namespace clang; diff --git a/lib/Checker/UndefinedAssignmentChecker.cpp b/lib/Checker/UndefinedAssignmentChecker.cpp index ff31e88524..4273f0cf31 100644 --- a/lib/Checker/UndefinedAssignmentChecker.cpp +++ b/lib/Checker/UndefinedAssignmentChecker.cpp @@ -13,8 +13,8 @@ //===----------------------------------------------------------------------===// #include "GRExprEngineInternalChecks.h" -#include "clang/Checker/BugReporter/BugType.h" -#include "clang/Checker/PathSensitive/CheckerVisitor.h" +#include "clang/GR/BugReporter/BugType.h" +#include "clang/GR/PathSensitive/CheckerVisitor.h" using namespace clang; diff --git a/lib/Checker/UnixAPIChecker.cpp b/lib/Checker/UnixAPIChecker.cpp index 6b461cc3d9..4f1b25f4d8 100644 --- a/lib/Checker/UnixAPIChecker.cpp +++ b/lib/Checker/UnixAPIChecker.cpp @@ -14,8 +14,8 @@ #include "GRExprEngineInternalChecks.h" #include "clang/Basic/TargetInfo.h" -#include "clang/Checker/BugReporter/BugType.h" -#include "clang/Checker/PathSensitive/CheckerVisitor.h" +#include "clang/GR/BugReporter/BugType.h" +#include "clang/GR/PathSensitive/CheckerVisitor.h" #include "llvm/ADT/Optional.h" #include "llvm/ADT/StringSwitch.h" #include <fcntl.h> diff --git a/lib/Checker/UnreachableCodeChecker.cpp b/lib/Checker/UnreachableCodeChecker.cpp index 6854219714..5f8b229ccb 100644 --- a/lib/Checker/UnreachableCodeChecker.cpp +++ b/lib/Checker/UnreachableCodeChecker.cpp @@ -16,11 +16,11 @@ #include "clang/AST/ParentMap.h" #include "clang/Basic/Builtins.h" #include "clang/Basic/SourceManager.h" -#include "clang/Checker/PathSensitive/CheckerVisitor.h" -#include "clang/Checker/PathSensitive/ExplodedGraph.h" -#include "clang/Checker/PathSensitive/SVals.h" -#include "clang/Checker/PathSensitive/CheckerHelpers.h" -#include "clang/Checker/BugReporter/BugReporter.h" +#include "clang/GR/PathSensitive/CheckerVisitor.h" +#include "clang/GR/PathSensitive/ExplodedGraph.h" +#include "clang/GR/PathSensitive/SVals.h" +#include "clang/GR/PathSensitive/CheckerHelpers.h" +#include "clang/GR/BugReporter/BugReporter.h" #include "GRExprEngineExperimentalChecks.h" #include "llvm/ADT/SmallPtrSet.h" diff --git a/lib/Checker/VLASizeChecker.cpp b/lib/Checker/VLASizeChecker.cpp index 4d24413d32..8c4d903c1a 100644 --- a/lib/Checker/VLASizeChecker.cpp +++ b/lib/Checker/VLASizeChecker.cpp @@ -16,9 +16,9 @@ #include "GRExprEngineInternalChecks.h" #include "clang/AST/CharUnits.h" -#include "clang/Checker/BugReporter/BugType.h" -#include "clang/Checker/PathSensitive/CheckerVisitor.h" -#include "clang/Checker/PathSensitive/GRExprEngine.h" +#include "clang/GR/BugReporter/BugType.h" +#include "clang/GR/PathSensitive/CheckerVisitor.h" +#include "clang/GR/PathSensitive/GRExprEngine.h" using namespace clang; diff --git a/lib/FrontendTool/ExecuteCompilerInvocation.cpp b/lib/FrontendTool/ExecuteCompilerInvocation.cpp index de87fbdab3..ed9ff7591f 100644 --- a/lib/FrontendTool/ExecuteCompilerInvocation.cpp +++ b/lib/FrontendTool/ExecuteCompilerInvocation.cpp @@ -13,7 +13,7 @@ //===----------------------------------------------------------------------===// #include "clang/FrontendTool/Utils.h" -#include "clang/Checker/FrontendActions.h" +#include "clang/GR/FrontendActions.h" #include "clang/CodeGen/CodeGenAction.h" #include "clang/Driver/CC1Options.h" #include "clang/Driver/OptTable.h" |