diff options
Diffstat (limited to 'lib')
-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 |
89 files changed, 6 insertions, 6 deletions
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/De |