diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2010-12-22 18:52:29 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2010-12-22 18:52:29 +0000 |
commit | bce30c533a2b444db97533e3a9a567558120bd70 (patch) | |
tree | b730703a0680231ab757d3f3e607251b4c78e155 | |
parent | 98cabbad47a4d9db6b7e95c950d3302c110d1b02 (diff) | |
download | clang-bce30c533a2b444db97533e3a9a567558120bd70.tar.gz |
[analyzer] Refactoring: lib/Checker -> lib/GR and libclangChecker -> libclangGRCore
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122421 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | examples/PrintFunctionNames/CMakeLists.txt | 2 | ||||
-rw-r--r-- | examples/clang-interpreter/CMakeLists.txt | 2 | ||||
-rw-r--r-- | examples/clang-interpreter/Makefile | 2 | ||||
-rw-r--r-- | examples/wpa/CMakeLists.txt | 2 | ||||
-rw-r--r-- | examples/wpa/Makefile | 2 | ||||
-rw-r--r-- | lib/CMakeLists.txt | 2 | ||||
-rw-r--r-- | lib/FrontendTool/CMakeLists.txt | 2 | ||||
-rw-r--r-- | lib/GR/AdjustedReturnValueChecker.cpp (renamed from lib/Checker/AdjustedReturnValueChecker.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/AggExprVisitor.cpp (renamed from lib/Checker/AggExprVisitor.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/AnalysisConsumer.cpp (renamed from lib/Checker/AnalysisConsumer.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/AnalysisManager.cpp (renamed from lib/Checker/AnalysisManager.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/AnalyzerStatsChecker.cpp (renamed from lib/Checker/AnalyzerStatsChecker.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/ArrayBoundChecker.cpp (renamed from lib/Checker/ArrayBoundChecker.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/AttrNonNullChecker.cpp (renamed from lib/Checker/AttrNonNullChecker.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/BasicConstraintManager.cpp (renamed from lib/Checker/BasicConstraintManager.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/BasicObjCFoundationChecks.cpp (renamed from lib/Checker/BasicObjCFoundationChecks.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/BasicObjCFoundationChecks.h (renamed from lib/Checker/BasicObjCFoundationChecks.h) | 0 | ||||
-rw-r--r-- | lib/GR/BasicStore.cpp (renamed from lib/Checker/BasicStore.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/BasicValueFactory.cpp (renamed from lib/Checker/BasicValueFactory.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/BugReporter.cpp (renamed from lib/Checker/BugReporter.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/BugReporterVisitors.cpp (renamed from lib/Checker/BugReporterVisitors.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/BuiltinFunctionChecker.cpp (renamed from lib/Checker/BuiltinFunctionChecker.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/CFRefCount.cpp (renamed from lib/Checker/CFRefCount.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/CMakeLists.txt (renamed from lib/Checker/CMakeLists.txt) | 4 | ||||
-rw-r--r-- | lib/GR/CStringChecker.cpp (renamed from lib/Checker/CStringChecker.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/CallAndMessageChecker.cpp (renamed from lib/Checker/CallAndMessageChecker.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/CastSizeChecker.cpp (renamed from lib/Checker/CastSizeChecker.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/CastToStructChecker.cpp (renamed from lib/Checker/CastToStructChecker.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/CheckDeadStores.cpp (renamed from lib/Checker/CheckDeadStores.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/CheckObjCDealloc.cpp (renamed from lib/Checker/CheckObjCDealloc.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/CheckObjCInstMethSignature.cpp (renamed from lib/Checker/CheckObjCInstMethSignature.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/CheckSecuritySyntaxOnly.cpp (renamed from lib/Checker/CheckSecuritySyntaxOnly.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/CheckSizeofPointer.cpp (renamed from lib/Checker/CheckSizeofPointer.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/Checker.cpp (renamed from lib/Checker/Checker.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/CheckerHelpers.cpp (renamed from lib/Checker/CheckerHelpers.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/ChrootChecker.cpp (renamed from lib/Checker/ChrootChecker.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/DereferenceChecker.cpp (renamed from lib/Checker/DereferenceChecker.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/DivZeroChecker.cpp (renamed from lib/Checker/DivZeroChecker.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/Environment.cpp (renamed from lib/Checker/Environment.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/ExplodedGraph.cpp (renamed from lib/Checker/ExplodedGraph.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/FixedAddressChecker.cpp (renamed from lib/Checker/FixedAddressChecker.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/FlatStore.cpp (renamed from lib/Checker/FlatStore.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/FrontendActions.cpp (renamed from lib/Checker/FrontendActions.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/GRBlockCounter.cpp (renamed from lib/Checker/GRBlockCounter.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/GRCXXExprEngine.cpp (renamed from lib/Checker/GRCXXExprEngine.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/GRCoreEngine.cpp (renamed from lib/Checker/GRCoreEngine.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/GRExprEngine.cpp (renamed from lib/Checker/GRExprEngine.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/GRExprEngineExperimentalChecks.cpp (renamed from lib/Checker/GRExprEngineExperimentalChecks.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/GRExprEngineExperimentalChecks.h (renamed from lib/Checker/GRExprEngineExperimentalChecks.h) | 0 | ||||
-rw-r--r-- | lib/GR/GRExprEngineInternalChecks.h (renamed from lib/Checker/GRExprEngineInternalChecks.h) | 0 | ||||
-rw-r--r-- | lib/GR/GRState.cpp (renamed from lib/Checker/GRState.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/HTMLDiagnostics.cpp (renamed from lib/Checker/HTMLDiagnostics.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/IdempotentOperationChecker.cpp (renamed from lib/Checker/IdempotentOperationChecker.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/LLVMConventionsChecker.cpp (renamed from lib/Checker/LLVMConventionsChecker.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/MacOSXAPIChecker.cpp (renamed from lib/Checker/MacOSXAPIChecker.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/Makefile (renamed from lib/Checker/Makefile) | 2 | ||||
-rw-r--r-- | lib/GR/MallocChecker.cpp (renamed from lib/Checker/MallocChecker.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/ManagerRegistry.cpp (renamed from lib/Checker/ManagerRegistry.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/MemRegion.cpp (renamed from lib/Checker/MemRegion.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/NSAutoreleasePoolChecker.cpp (renamed from lib/Checker/NSAutoreleasePoolChecker.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/NSErrorChecker.cpp (renamed from lib/Checker/NSErrorChecker.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/NoReturnFunctionChecker.cpp (renamed from lib/Checker/NoReturnFunctionChecker.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/OSAtomicChecker.cpp (renamed from lib/Checker/OSAtomicChecker.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/ObjCAtSyncChecker.cpp (renamed from lib/Checker/ObjCAtSyncChecker.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/ObjCUnusedIVarsChecker.cpp (renamed from lib/Checker/ObjCUnusedIVarsChecker.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/PathDiagnostic.cpp (renamed from lib/Checker/PathDiagnostic.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/PlistDiagnostics.cpp (renamed from lib/Checker/PlistDiagnostics.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/PointerArithChecker.cpp (renamed from lib/Checker/PointerArithChecker.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/PointerSubChecker.cpp (renamed from lib/Checker/PointerSubChecker.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/PthreadLockChecker.cpp (renamed from lib/Checker/PthreadLockChecker.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/README.txt (renamed from lib/Checker/README.txt) | 0 | ||||
-rw-r--r-- | lib/GR/RangeConstraintManager.cpp (renamed from lib/Checker/RangeConstraintManager.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/RegionStore.cpp (renamed from lib/Checker/RegionStore.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/ReturnPointerRangeChecker.cpp (renamed from lib/Checker/ReturnPointerRangeChecker.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/ReturnUndefChecker.cpp (renamed from lib/Checker/ReturnUndefChecker.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/SValBuilder.cpp (renamed from lib/Checker/SValBuilder.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/SVals.cpp (renamed from lib/Checker/SVals.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/SimpleConstraintManager.cpp (renamed from lib/Checker/SimpleConstraintManager.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/SimpleConstraintManager.h (renamed from lib/Checker/SimpleConstraintManager.h) | 0 | ||||
-rw-r--r-- | lib/GR/SimpleSValBuilder.cpp (renamed from lib/Checker/SimpleSValBuilder.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/StackAddrLeakChecker.cpp (renamed from lib/Checker/StackAddrLeakChecker.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/Store.cpp (renamed from lib/Checker/Store.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/StreamChecker.cpp (renamed from lib/Checker/StreamChecker.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/SymbolManager.cpp (renamed from lib/Checker/SymbolManager.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/TextPathDiagnostics.cpp (renamed from lib/Checker/TextPathDiagnostics.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/UndefBranchChecker.cpp (renamed from lib/Checker/UndefBranchChecker.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/UndefCapturedBlockVarChecker.cpp (renamed from lib/Checker/UndefCapturedBlockVarChecker.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/UndefResultChecker.cpp (renamed from lib/Checker/UndefResultChecker.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/UndefinedArraySubscriptChecker.cpp (renamed from lib/Checker/UndefinedArraySubscriptChecker.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/UndefinedAssignmentChecker.cpp (renamed from lib/Checker/UndefinedAssignmentChecker.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/UnixAPIChecker.cpp (renamed from lib/Checker/UnixAPIChecker.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/UnreachableCodeChecker.cpp (renamed from lib/Checker/UnreachableCodeChecker.cpp) | 0 | ||||
-rw-r--r-- | lib/GR/VLASizeChecker.cpp (renamed from lib/Checker/VLASizeChecker.cpp) | 0 | ||||
-rwxr-xr-x | lib/Makefile | 2 | ||||
-rw-r--r-- | tools/driver/CMakeLists.txt | 2 | ||||
-rw-r--r-- | tools/driver/Makefile | 2 |
96 files changed, 13 insertions, 13 deletions
diff --git a/examples/PrintFunctionNames/CMakeLists.txt b/examples/PrintFunctionNames/CMakeLists.txt index f8d7375906..ae5444207d 100644 --- a/examples/PrintFunctionNames/CMakeLists.txt +++ b/examples/PrintFunctionNames/CMakeLists.txt @@ -10,7 +10,7 @@ set( LLVM_USED_LIBS clangCodeGen clangParse clangSema - clangChecker + clangGRCore clangAnalysis clangIndex clangRewrite diff --git a/examples/clang-interpreter/CMakeLists.txt b/examples/clang-interpreter/CMakeLists.txt index 73f28bb7a2..65786db18e 100644 --- a/examples/clang-interpreter/CMakeLists.txt +++ b/examples/clang-interpreter/CMakeLists.txt @@ -6,7 +6,7 @@ set(LLVM_USED_LIBS clangDriver clangCodeGen clangSema - clangChecker + clangGRCore clangIndex clangAnalysis clangRewrite diff --git a/examples/clang-interpreter/Makefile b/examples/clang-interpreter/Makefile index 2f5e017af8..9b7662461e 100644 --- a/examples/clang-interpreter/Makefile +++ b/examples/clang-interpreter/Makefile @@ -18,7 +18,7 @@ TOOL_NO_EXPORTS = 1 LINK_COMPONENTS := jit interpreter nativecodegen bitreader bitwriter ipo \ selectiondag asmparser USEDLIBS = clangFrontend.a clangSerialization.a clangDriver.a clangCodeGen.a \ - clangSema.a clangChecker.a clangAnalysis.a clangRewrite.a \ + clangSema.a clangGRCore.a clangAnalysis.a clangRewrite.a \ clangAST.a clangParse.a clangLex.a clangBasic.a include $(CLANG_LEVEL)/Makefile diff --git a/examples/wpa/CMakeLists.txt b/examples/wpa/CMakeLists.txt index 13e4298c1f..9dbc04473d 100644 --- a/examples/wpa/CMakeLists.txt +++ b/examples/wpa/CMakeLists.txt @@ -7,7 +7,7 @@ set(LLVM_USED_LIBS clangSema clangAnalysis clangSerialization - clangChecker + clangGRCore clangRewrite clangAST clangParse diff --git a/examples/wpa/Makefile b/examples/wpa/Makefile index 0a70ea6359..9e875f31f5 100644 --- a/examples/wpa/Makefile +++ b/examples/wpa/Makefile @@ -16,7 +16,7 @@ NO_INSTALL = 1 TOOL_NO_EXPORTS = 1 LINK_COMPONENTS := asmparser bitreader mc core -USEDLIBS = clangChecker.a clangIndex.a clangFrontend.a clangDriver.a \ +USEDLIBS = clangGRCore.a clangIndex.a clangFrontend.a clangDriver.a \ clangSema.a clangAnalysis.a clangSerialization.a \ clangAST.a clangParse.a clangLex.a clangBasic.a diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index bd5e342e02..9cd7347476 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -12,4 +12,4 @@ add_subdirectory(Serialization) add_subdirectory(Frontend) add_subdirectory(FrontendTool) add_subdirectory(Index) -add_subdirectory(Checker) +add_subdirectory(GR) diff --git a/lib/FrontendTool/CMakeLists.txt b/lib/FrontendTool/CMakeLists.txt index 09d9e3419d..cfd5fbda08 100644 --- a/lib/FrontendTool/CMakeLists.txt +++ b/lib/FrontendTool/CMakeLists.txt @@ -1,7 +1,7 @@ set(LLVM_NO_RTTI 1) set(LLVM_USED_LIBS clangDriver clangFrontend clangRewrite clangCodeGen - clangChecker) + clangGRCore) add_clang_library(clangFrontendTool ExecuteCompilerInvocation.cpp diff --git a/lib/Checker/AdjustedReturnValueChecker.cpp b/lib/GR/AdjustedReturnValueChecker.cpp index 281d74f926..281d74f926 100644 --- a/lib/Checker/AdjustedReturnValueChecker.cpp +++ b/lib/GR/AdjustedReturnValueChecker.cpp diff --git a/lib/Checker/AggExprVisitor.cpp b/lib/GR/AggExprVisitor.cpp index b8ec92ff81..b8ec92ff81 100644 --- a/lib/Checker/AggExprVisitor.cpp +++ b/lib/GR/AggExprVisitor.cpp diff --git a/lib/Checker/AnalysisConsumer.cpp b/lib/GR/AnalysisConsumer.cpp index 839ce044fd..839ce044fd 100644 --- a/lib/Checker/AnalysisConsumer.cpp +++ b/lib/GR/AnalysisConsumer.cpp diff --git a/lib/Checker/AnalysisManager.cpp b/lib/GR/AnalysisManager.cpp index 736cf1d7b1..736cf1d7b1 100644 --- a/lib/Checker/AnalysisManager.cpp +++ b/lib/GR/AnalysisManager.cpp diff --git a/lib/Checker/AnalyzerStatsChecker.cpp b/lib/GR/AnalyzerStatsChecker.cpp index 2a229cc7e9..2a229cc7e9 100644 --- a/lib/Checker/AnalyzerStatsChecker.cpp +++ b/lib/GR/AnalyzerStatsChecker.cpp diff --git a/lib/Checker/ArrayBoundChecker.cpp b/lib/GR/ArrayBoundChecker.cpp index a36e13e4fe..a36e13e4fe 100644 --- a/lib/Checker/ArrayBoundChecker.cpp +++ b/lib/GR/ArrayBoundChecker.cpp diff --git a/lib/Checker/AttrNonNullChecker.cpp b/lib/GR/AttrNonNullChecker.cpp index 5be12783bd..5be12783bd 100644 --- a/lib/Checker/AttrNonNullChecker.cpp +++ b/lib/GR/AttrNonNullChecker.cpp diff --git a/lib/Checker/BasicConstraintManager.cpp b/lib/GR/BasicConstraintManager.cpp index 0166968151..0166968151 100644 --- a/lib/Checker/BasicConstraintManager.cpp +++ b/lib/GR/BasicConstraintManager.cpp diff --git a/lib/Checker/BasicObjCFoundationChecks.cpp b/lib/GR/BasicObjCFoundationChecks.cpp index dc53695704..dc53695704 100644 --- a/lib/Checker/BasicObjCFoundationChecks.cpp +++ b/lib/GR/BasicObjCFoundationChecks.cpp diff --git a/lib/Checker/BasicObjCFoundationChecks.h b/lib/GR/BasicObjCFoundationChecks.h index 6ad850b973..6ad850b973 100644 --- a/lib/Checker/BasicObjCFoundationChecks.h +++ b/lib/GR/BasicObjCFoundationChecks.h diff --git a/lib/Checker/BasicStore.cpp b/lib/GR/BasicStore.cpp index e9e85b9bd1..e9e85b9bd1 100644 --- a/lib/Checker/BasicStore.cpp +++ b/lib/GR/BasicStore.cpp diff --git a/lib/Checker/BasicValueFactory.cpp b/lib/GR/BasicValueFactory.cpp index 9352816705..9352816705 100644 --- a/lib/Checker/BasicValueFactory.cpp +++ b/lib/GR/BasicValueFactory.cpp diff --git a/lib/Checker/BugReporter.cpp b/lib/GR/BugReporter.cpp index 41381d7bb4..41381d7bb4 100644 --- a/lib/Checker/BugReporter.cpp +++ b/lib/GR/BugReporter.cpp diff --git a/lib/Checker/BugReporterVisitors.cpp b/lib/GR/BugReporterVisitors.cpp index 6641006480..6641006480 100644 --- a/lib/Checker/BugReporterVisitors.cpp +++ b/lib/GR/BugReporterVisitors.cpp diff --git a/lib/Checker/BuiltinFunctionChecker.cpp b/lib/GR/BuiltinFunctionChecker.cpp index 08fcbd6f4e..08fcbd6f4e 100644 --- a/lib/Checker/BuiltinFunctionChecker.cpp +++ b/lib/GR/BuiltinFunctionChecker.cpp diff --git a/lib/Checker/CFRefCount.cpp b/lib/GR/CFRefCount.cpp index 211c265961..211c265961 100644 --- a/lib/Checker/CFRefCount.cpp +++ b/lib/GR/CFRefCount.cpp diff --git a/lib/Checker/CMakeLists.txt b/lib/GR/CMakeLists.txt index c6b4550b73..ed59398d99 100644 --- a/lib/Checker/CMakeLists.txt +++ b/lib/GR/CMakeLists.txt @@ -2,7 +2,7 @@ set(LLVM_NO_RTTI 1) set(LLVM_USED_LIBS clangBasic clangLex clangAST clangFrontend clangRewrite) -add_clang_library(clangChecker +add_clang_library(clangGRCore AdjustedReturnValueChecker.cpp AggExprVisitor.cpp AnalysisConsumer.cpp @@ -84,5 +84,5 @@ add_clang_library(clangChecker VLASizeChecker.cpp ) -add_dependencies(clangChecker ClangAttrClasses ClangAttrList ClangDeclNodes +add_dependencies(clangGRCore ClangAttrClasses ClangAttrList ClangDeclNodes ClangStmtNodes) diff --git a/lib/Checker/CStringChecker.cpp b/lib/GR/CStringChecker.cpp index db4d86f0e3..db4d86f0e3 100644 --- a/lib/Checker/CStringChecker.cpp +++ b/lib/GR/CStringChecker.cpp diff --git a/lib/Checker/CallAndMessageChecker.cpp b/lib/GR/CallAndMessageChecker.cpp index e68569ce7e..e68569ce7e 100644 --- a/lib/Checker/CallAndMessageChecker.cpp +++ b/lib/GR/CallAndMessageChecker.cpp diff --git a/lib/Checker/CastSizeChecker.cpp b/lib/GR/CastSizeChecker.cpp index 1248d12c91..1248d12c91 100644 --- a/lib/Checker/CastSizeChecker.cpp +++ b/lib/GR/CastSizeChecker.cpp diff --git a/lib/Checker/CastToStructChecker.cpp b/lib/GR/CastToStructChecker.cpp index 2a010b210b..2a010b210b 100644 --- a/lib/Checker/CastToStructChecker.cpp +++ b/lib/GR/CastToStructChecker.cpp diff --git a/lib/Checker/CheckDeadStores.cpp b/lib/GR/CheckDeadStores.cpp index 7e90781bd3..7e90781bd3 100644 --- a/lib/Checker/CheckDeadStores.cpp +++ b/lib/GR/CheckDeadStores.cpp diff --git a/lib/Checker/CheckObjCDealloc.cpp b/lib/GR/CheckObjCDealloc.cpp index c3d511ba02..c3d511ba02 100644 --- a/lib/Checker/CheckObjCDealloc.cpp +++ b/lib/GR/CheckObjCDealloc.cpp diff --git a/lib/Checker/CheckObjCInstMethSignature.cpp b/lib/GR/CheckObjCInstMethSignature.cpp index 2b83d13e75..2b83d13e75 100644 --- a/lib/Checker/CheckObjCInstMethSignature.cpp +++ b/lib/GR/CheckObjCInstMethSignature.cpp diff --git a/lib/Checker/CheckSecuritySyntaxOnly.cpp b/lib/GR/CheckSecuritySyntaxOnly.cpp index bdf18ca760..bdf18ca760 100644 --- a/lib/Checker/CheckSecuritySyntaxOnly.cpp +++ b/lib/GR/CheckSecuritySyntaxOnly.cpp diff --git a/lib/Checker/CheckSizeofPointer.cpp b/lib/GR/CheckSizeofPointer.cpp index 4cf5eb7006..4cf5eb7006 100644 --- a/lib/Checker/CheckSizeofPointer.cpp +++ b/lib/GR/CheckSizeofPointer.cpp diff --git a/lib/Checker/Checker.cpp b/lib/GR/Checker.cpp index 00976dbced..00976dbced 100644 --- a/lib/Checker/Checker.cpp +++ b/lib/GR/Checker.cpp diff --git a/lib/Checker/CheckerHelpers.cpp b/lib/GR/CheckerHelpers.cpp index 3819ed30ab..3819ed30ab 100644 --- a/lib/Checker/CheckerHelpers.cpp +++ b/lib/GR/CheckerHelpers.cpp diff --git a/lib/Checker/ChrootChecker.cpp b/lib/GR/ChrootChecker.cpp index 2108094ae1..2108094ae1 100644 --- a/lib/Checker/ChrootChecker.cpp +++ b/lib/GR/ChrootChecker.cpp diff --git a/lib/Checker/DereferenceChecker.cpp b/lib/GR/DereferenceChecker.cpp index 72c88b1a3c..72c88b1a3c 100644 --- a/lib/Checker/DereferenceChecker.cpp +++ b/lib/GR/DereferenceChecker.cpp diff --git a/lib/Checker/DivZeroChecker.cpp b/lib/GR/DivZeroChecker.cpp index e76d84672f..e76d84672f 100644 --- a/lib/Checker/DivZeroChecker.cpp +++ b/lib/GR/DivZeroChecker.cpp diff --git a/lib/Checker/Environment.cpp b/lib/GR/Environment.cpp index 5846d6acee..5846d6acee 100644 --- a/lib/Checker/Environment.cpp +++ b/lib/GR/Environment.cpp diff --git a/lib/Checker/ExplodedGraph.cpp b/lib/GR/ExplodedGraph.cpp index 6890ebf2fc..6890ebf2fc 100644 --- a/lib/Checker/ExplodedGraph.cpp +++ b/lib/GR/ExplodedGraph.cpp diff --git a/lib/Checker/FixedAddressChecker.cpp b/lib/GR/FixedAddressChecker.cpp index ede6b555d4..ede6b555d4 100644 --- a/lib/Checker/FixedAddressChecker.cpp +++ b/lib/GR/FixedAddressChecker.cpp diff --git a/lib/Checker/FlatStore.cpp b/lib/GR/FlatStore.cpp index 6e70f61be6..6e70f61be6 100644 --- a/lib/Checker/FlatStore.cpp +++ b/lib/GR/FlatStore.cpp diff --git a/lib/Checker/FrontendActions.cpp b/lib/GR/FrontendActions.cpp index e3ef60b512..e3ef60b512 100644 --- a/lib/Checker/FrontendActions.cpp +++ b/lib/GR/FrontendActions.cpp diff --git a/lib/Checker/GRBlockCounter.cpp b/lib/GR/GRBlockCounter.cpp index 6a1991750d..6a1991750d 100644 --- a/lib/Checker/GRBlockCounter.cpp +++ b/lib/GR/GRBlockCounter.cpp diff --git a/lib/Checker/GRCXXExprEngine.cpp b/lib/GR/GRCXXExprEngine.cpp index 73b8b271ae..73b8b271ae 100644 --- a/lib/Checker/GRCXXExprEngine.cpp +++ b/lib/GR/GRCXXExprEngine.cpp diff --git a/lib/Checker/GRCoreEngine.cpp b/lib/GR/GRCoreEngine.cpp index 9f34e89d9e..9f34e89d9e 100644 --- a/lib/Checker/GRCoreEngine.cpp +++ b/lib/GR/GRCoreEngine.cpp diff --git a/lib/Checker/GRExprEngine.cpp b/lib/GR/GRExprEngine.cpp index da32592990..da32592990 100644 --- a/lib/Checker/GRExprEngine.cpp +++ b/lib/GR/GRExprEngine.cpp diff --git a/lib/Checker/GRExprEngineExperimentalChecks.cpp b/lib/GR/GRExprEngineExperimentalChecks.cpp index f1acc65d76..f1acc65d76 100644 --- a/lib/Checker/GRExprEngineExperimentalChecks.cpp +++ b/lib/GR/GRExprEngineExperimentalChecks.cpp diff --git a/lib/Checker/GRExprEngineExperimentalChecks.h b/lib/GR/GRExprEngineExperimentalChecks.h index 3380031e02..3380031e02 100644 --- a/lib/Checker/GRExprEngineExperimentalChecks.h +++ b/lib/GR/GRExprEngineExperimentalChecks.h diff --git a/lib/Checker/GRExprEngineInternalChecks.h b/lib/GR/GRExprEngineInternalChecks.h index 740a914cfc..740a914cfc 100644 --- a/lib/Checker/GRExprEngineInternalChecks.h +++ b/lib/GR/GRExprEngineInternalChecks.h diff --git a/lib/Checker/GRState.cpp b/lib/GR/GRState.cpp index 164cd8c966..164cd8c966 100644 --- a/lib/Checker/GRState.cpp +++ b/lib/GR/GRState.cpp diff --git a/lib/Checker/HTMLDiagnostics.cpp b/lib/GR/HTMLDiagnostics.cpp index 0db63c70e2..0db63c70e2 100644 --- a/lib/Checker/HTMLDiagnostics.cpp +++ b/lib/GR/HTMLDiagnostics.cpp diff --git a/lib/Checker/IdempotentOperationChecker.cpp b/lib/GR/IdempotentOperationChecker.cpp index e6f0e5de06..e6f0e5de06 100644 --- a/lib/Checker/IdempotentOperationChecker.cpp +++ b/lib/GR/IdempotentOperationChecker.cpp diff --git a/lib/Checker/LLVMConventionsChecker.cpp b/lib/GR/LLVMConventionsChecker.cpp index e97074e542..e97074e542 100644 --- a/lib/Checker/LLVMConventionsChecker.cpp +++ b/lib/GR/LLVMConventionsChecker.cpp diff --git a/lib/Checker/MacOSXAPIChecker.cpp b/lib/GR/MacOSXAPIChecker.cpp index c798cb291f..c798cb291f 100644 --- a/lib/Checker/MacOSXAPIChecker.cpp +++ b/lib/GR/MacOSXAPIChecker.cpp diff --git a/lib/Checker/Makefile b/lib/GR/Makefile index 4ec6f65a0b..71066effe4 100644 --- a/lib/Checker/Makefile +++ b/lib/GR/Makefile @@ -12,7 +12,7 @@ ##===----------------------------------------------------------------------===## CLANG_LEVEL := ../.. -LIBRARYNAME := clangChecker +LIBRARYNAME := clangGRCore include $(CLANG_LEVEL)/Makefile diff --git a/lib/Checker/MallocChecker.cpp b/lib/GR/MallocChecker.cpp index 367ac245c1..367ac245c1 100644 --- a/lib/Checker/MallocChecker.cpp +++ b/lib/GR/MallocChecker.cpp diff --git a/lib/Checker/ManagerRegistry.cpp b/lib/GR/ManagerRegistry.cpp index b1920e1aab..b1920e1aab 100644 --- a/lib/Checker/ManagerRegistry.cpp +++ b/lib/GR/ManagerRegistry.cpp diff --git a/lib/Checker/MemRegion.cpp b/lib/GR/MemRegion.cpp index a1dee535f2..a1dee535f2 100644 --- a/lib/Checker/MemRegion.cpp +++ b/lib/GR/MemRegion.cpp diff --git a/lib/Checker/NSAutoreleasePoolChecker.cpp b/lib/GR/NSAutoreleasePoolChecker.cpp index d8225a7e4e..d8225a7e4e 100644 --- a/lib/Checker/NSAutoreleasePoolChecker.cpp +++ b/lib/GR/NSAutoreleasePoolChecker.cpp diff --git a/lib/Checker/NSErrorChecker.cpp b/lib/GR/NSErrorChecker.cpp index 73caf774bf..73caf774bf 100644 --- a/lib/Checker/NSErrorChecker.cpp +++ b/lib/GR/NSErrorChecker.cpp diff --git a/lib/Checker/NoReturnFunctionChecker.cpp b/lib/GR/NoReturnFunctionChecker.cpp index fdd2849719..fdd2849719 100644 --- a/lib/Checker/NoReturnFunctionChecker.cpp +++ b/lib/GR/NoReturnFunctionChecker.cpp diff --git a/lib/Checker/OSAtomicChecker.cpp b/lib/GR/OSAtomicChecker.cpp index 36b5335d88..36b5335d88 100644 --- a/lib/Checker/OSAtomicChecker.cpp +++ b/lib/GR/OSAtomicChecker.cpp diff --git a/lib/Checker/ObjCAtSyncChecker.cpp b/lib/GR/ObjCAtSyncChecker.cpp index c95df4ef4b..c95df4ef4b 100644 --- a/lib/Checker/ObjCAtSyncChecker.cpp +++ b/lib/GR/ObjCAtSyncChecker.cpp diff --git a/lib/Checker/ObjCUnusedIVarsChecker.cpp b/lib/GR/ObjCUnusedIVarsChecker.cpp index e3f5d565e7..e3f5d565e7 100644 --- a/lib/Checker/ObjCUnusedIVarsChecker.cpp +++ b/lib/GR/ObjCUnusedIVarsChecker.cpp diff --git a/lib/Checker/PathDiagnostic.cpp b/lib/GR/PathDiagnostic.cpp index 1710643423..1710643423 100644 --- a/lib/Checker/PathDiagnostic.cpp +++ b/lib/GR/PathDiagnostic.cpp diff --git a/lib/Checker/PlistDiagnostics.cpp b/lib/GR/PlistDiagnostics.cpp index 5b91f6e78e..5b91f6e78e 100644 --- a/lib/Checker/PlistDiagnostics.cpp +++ b/lib/GR/PlistDiagnostics.cpp diff --git a/lib/Checker/PointerArithChecker.cpp b/lib/GR/PointerArithChecker.cpp index 0517140da3..0517140da3 100644 --- a/lib/Checker/PointerArithChecker.cpp +++ b/lib/GR/PointerArithChecker.cpp diff --git a/lib/Checker/PointerSubChecker.cpp b/lib/GR/PointerSubChecker.cpp index 24f839dca1..24f839dca1 100644 --- a/lib/Checker/PointerSubChecker.cpp +++ b/lib/GR/PointerSubChecker.cpp diff --git a/lib/Checker/PthreadLockChecker.cpp b/lib/GR/PthreadLockChecker.cpp index 32f2f57b45..32f2f57b45 100644 --- a/lib/Checker/PthreadLockChecker.cpp +++ b/lib/GR/PthreadLockChecker.cpp diff --git a/lib/Checker/README.txt b/lib/GR/README.txt index dd16ccc980..dd16ccc980 100644 --- a/lib/Checker/README.txt +++ b/lib/GR/README.txt diff --git a/lib/Checker/RangeConstraintManager.cpp b/lib/GR/RangeConstraintManager.cpp index 423777e28d..423777e28d 100644 --- a/lib/Checker/RangeConstraintManager.cpp +++ b/lib/GR/RangeConstraintManager.cpp diff --git a/lib/Checker/RegionStore.cpp b/lib/GR/RegionStore.cpp index a310b19181..a310b19181 100644 --- a/lib/Checker/RegionStore.cpp +++ b/lib/GR/RegionStore.cpp diff --git a/lib/Checker/ReturnPointerRangeChecker.cpp b/lib/GR/ReturnPointerRangeChecker.cpp index a2a9473b2c..a2a9473b2c 100644 --- a/lib/Checker/ReturnPointerRangeChecker.cpp +++ b/lib/GR/ReturnPointerRangeChecker.cpp diff --git a/lib/Checker/ReturnUndefChecker.cpp b/lib/GR/ReturnUndefChecker.cpp index f5e417a1f7..f5e417a1f7 100644 --- a/lib/Checker/ReturnUndefChecker.cpp +++ b/lib/GR/ReturnUndefChecker.cpp diff --git a/lib/Checker/SValBuilder.cpp b/lib/GR/SValBuilder.cpp index 95829c2eab..95829c2eab 100644 --- a/lib/Checker/SValBuilder.cpp +++ b/lib/GR/SValBuilder.cpp diff --git a/lib/Checker/SVals.cpp b/lib/GR/SVals.cpp index deccc4b665..deccc4b665 100644 --- a/lib/Checker/SVals.cpp +++ b/lib/GR/SVals.cpp diff --git a/lib/Checker/SimpleConstraintManager.cpp b/lib/GR/SimpleConstraintManager.cpp index 7c246e4d27..7c246e4d27 100644 --- a/lib/Checker/SimpleConstraintManager.cpp +++ b/lib/GR/SimpleConstraintManager.cpp diff --git a/lib/Checker/SimpleConstraintManager.h b/lib/GR/SimpleConstraintManager.h index 45742ebd7d..45742ebd7d 100644 --- a/lib/Checker/SimpleConstraintManager.h +++ b/lib/GR/SimpleConstraintManager.h diff --git a/lib/Checker/SimpleSValBuilder.cpp b/lib/GR/SimpleSValBuilder.cpp index 1beb0550e9..1beb0550e9 100644 --- a/lib/Checker/SimpleSValBuilder.cpp +++ b/lib/GR/SimpleSValBuilder.cpp diff --git a/lib/Checker/StackAddrLeakChecker.cpp b/lib/GR/StackAddrLeakChecker.cpp index 1852e24fa5..1852e24fa5 100644 --- a/lib/Checker/StackAddrLeakChecker.cpp +++ b/lib/GR/StackAddrLeakChecker.cpp diff --git a/lib/Checker/Store.cpp b/lib/GR/Store.cpp index df13ab42ef..df13ab42ef 100644 --- a/lib/Checker/Store.cpp +++ b/lib/GR/Store.cpp diff --git a/lib/Checker/StreamChecker.cpp b/lib/GR/StreamChecker.cpp index dc7bd62933..dc7bd62933 100644 --- a/lib/Checker/StreamChecker.cpp +++ b/lib/GR/StreamChecker.cpp diff --git a/lib/Checker/SymbolManager.cpp b/lib/GR/SymbolManager.cpp index 8dcdb14414..8dcdb14414 100644 --- a/lib/Checker/SymbolManager.cpp +++ b/lib/GR/SymbolManager.cpp diff --git a/lib/Checker/TextPathDiagnostics.cpp b/lib/GR/TextPathDiagnostics.cpp index 343b21102b..343b21102b 100644 --- a/lib/Checker/TextPathDiagnostics.cpp +++ b/lib/GR/TextPathDiagnostics.cpp diff --git a/lib/Checker/UndefBranchChecker.cpp b/lib/GR/UndefBranchChecker.cpp index ebeb7a429d..ebeb7a429d 100644 --- a/lib/Checker/UndefBranchChecker.cpp +++ b/lib/GR/UndefBranchChecker.cpp diff --git a/lib/Checker/UndefCapturedBlockVarChecker.cpp b/lib/GR/UndefCapturedBlockVarChecker.cpp index 78b8394407..78b8394407 100644 --- a/lib/Checker/UndefCapturedBlockVarChecker.cpp +++ b/lib/GR/UndefCapturedBlockVarChecker.cpp diff --git a/lib/Checker/UndefResultChecker.cpp b/lib/GR/UndefResultChecker.cpp index df3ad3e9f8..df3ad3e9f8 100644 --- a/lib/Checker/UndefResultChecker.cpp +++ b/lib/GR/UndefResultChecker.cpp diff --git a/lib/Checker/UndefinedArraySubscriptChecker.cpp b/lib/GR/UndefinedArraySubscriptChecker.cpp index 8ef3986b8d..8ef3986b8d 100644 --- a/lib/Checker/UndefinedArraySubscriptChecker.cpp +++ b/lib/GR/UndefinedArraySubscriptChecker.cpp diff --git a/lib/Checker/UndefinedAssignmentChecker.cpp b/lib/GR/UndefinedAssignmentChecker.cpp index 4273f0cf31..4273f0cf31 100644 --- a/lib/Checker/UndefinedAssignmentChecker.cpp +++ b/lib/GR/UndefinedAssignmentChecker.cpp diff --git a/lib/Checker/UnixAPIChecker.cpp b/lib/GR/UnixAPIChecker.cpp index 4f1b25f4d8..4f1b25f4d8 100644 --- a/lib/Checker/UnixAPIChecker.cpp +++ b/lib/GR/UnixAPIChecker.cpp diff --git a/lib/Checker/UnreachableCodeChecker.cpp b/lib/GR/UnreachableCodeChecker.cpp index 5f8b229ccb..5f8b229ccb 100644 --- a/lib/Checker/UnreachableCodeChecker.cpp +++ b/lib/GR/UnreachableCodeChecker.cpp diff --git a/lib/Checker/VLASizeChecker.cpp b/lib/GR/VLASizeChecker.cpp index 8c4d903c1a..8c4d903c1a 100644 --- a/lib/Checker/VLASizeChecker.cpp +++ b/lib/GR/VLASizeChecker.cpp diff --git a/lib/Makefile b/lib/Makefile index dbd0eb699e..6509fd59c6 100755 --- a/lib/Makefile +++ b/lib/Makefile @@ -9,7 +9,7 @@ CLANG_LEVEL := .. PARALLEL_DIRS = Headers Basic Lex Parse AST Sema CodeGen Analysis \ - Checker Rewrite Serialization Frontend FrontendTool Index Driver + GR Rewrite Serialization Frontend FrontendTool Index Driver include $(CLANG_LEVEL)/Makefile diff --git a/tools/driver/CMakeLists.txt b/tools/driver/CMakeLists.txt index b5c7b14886..66dd512b44 100644 --- a/tools/driver/CMakeLists.txt +++ b/tools/driver/CMakeLists.txt @@ -8,7 +8,7 @@ set( LLVM_USED_LIBS clangCodeGen clangParse clangSema - clangChecker + clangGRCore clangAnalysis clangIndex clangRewrite diff --git a/tools/driver/Makefile b/tools/driver/Makefile index 585a918f4a..834e238b71 100644 --- a/tools/driver/Makefile +++ b/tools/driver/Makefile @@ -39,7 +39,7 @@ LINK_COMPONENTS := $(TARGETS_TO_BUILD) asmparser bitreader bitwriter codegen \ ipo selectiondag USEDLIBS = clangFrontendTool.a clangFrontend.a clangDriver.a \ clangSerialization.a clangCodeGen.a clangParse.a clangSema.a \ - clangChecker.a clangAnalysis.a clangIndex.a clangRewrite.a \ + clangGRCore.a clangAnalysis.a clangIndex.a clangRewrite.a \ clangAST.a clangLex.a clangBasic.a include $(CLANG_LEVEL)/Makefile |