aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2010-12-22 18:52:29 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2010-12-22 18:52:29 +0000
commitbce30c533a2b444db97533e3a9a567558120bd70 (patch)
treeb730703a0680231ab757d3f3e607251b4c78e155
parent98cabbad47a4d9db6b7e95c950d3302c110d1b02 (diff)
[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.txt2
-rw-r--r--examples/clang-interpreter/CMakeLists.txt2
-rw-r--r--examples/clang-interpreter/Makefile2
-rw-r--r--examples/wpa/CMakeLists.txt2
-rw-r--r--examples/wpa/Makefile2
-rw-r--r--lib/CMakeLists.txt2
-rw-r--r--lib/FrontendTool/CMakeLists.txt2
-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-xlib/Makefile2
-rw-r--r--tools/driver/CMakeLists.txt2
-rw-r--r--tools/driver/Makefile2
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