diff options
| author | Ted Kremenek <kremenek@apple.com> | 2010-12-17 05:21:58 +0000 |
|---|---|---|
| committer | Ted Kremenek <kremenek@apple.com> | 2010-12-17 05:21:58 +0000 |
| commit | 853da96736a38a58e18bec9de91c67bfab2cd1fe (patch) | |
| tree | ff923049c99ac7b359739fd8f9fd46c0ffefbcbc /clang/lib | |
| parent | b27bb86ba5eafc6ec7b7fd3fdec836f007b59585 (diff) | |
| download | bcm5719-llvm-853da96736a38a58e18bec9de91c67bfab2cd1fe.tar.gz bcm5719-llvm-853da96736a38a58e18bec9de91c67bfab2cd1fe.zip | |
Move CocoaConventions.[h,cpp] from libChecker
to libAnalysis. Similar to Format (format string checking),
CocoaConventions has the
potential to serve clients other than the
static analyzer.
llvm-svn: 122040
Diffstat (limited to 'clang/lib')
| -rw-r--r-- | clang/lib/Analysis/CMakeLists.txt | 1 | ||||
| -rw-r--r-- | clang/lib/Analysis/CocoaConventions.cpp (renamed from clang/lib/Checker/CocoaConventions.cpp) | 2 | ||||
| -rw-r--r-- | clang/lib/Checker/CFRefCount.cpp | 2 | ||||
| -rw-r--r-- | clang/lib/Checker/CMakeLists.txt | 1 |
4 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/Analysis/CMakeLists.txt b/clang/lib/Analysis/CMakeLists.txt index a2cfcfc4fa1..1709f6d6b78 100644 --- a/clang/lib/Analysis/CMakeLists.txt +++ b/clang/lib/Analysis/CMakeLists.txt @@ -6,6 +6,7 @@ add_clang_library(clangAnalysis AnalysisContext.cpp CFG.cpp CFGStmtMap.cpp + CocoaConventions.cpp FormatString.cpp LiveVariables.cpp PrintfFormatString.cpp diff --git a/clang/lib/Checker/CocoaConventions.cpp b/clang/lib/Analysis/CocoaConventions.cpp index 8a3abc8bae7..9a1be3ee059 100644 --- a/clang/lib/Checker/CocoaConventions.cpp +++ b/clang/lib/Analysis/CocoaConventions.cpp @@ -11,7 +11,7 @@ // //===----------------------------------------------------------------------===// -#include "clang/Checker/DomainSpecific/CocoaConventions.h" +#include "clang/Analysis/DomainSpecific/CocoaConventions.h" #include "clang/AST/Type.h" #include "clang/AST/Decl.h" #include "clang/AST/DeclObjC.h" diff --git a/clang/lib/Checker/CFRefCount.cpp b/clang/lib/Checker/CFRefCount.cpp index d9900c5dfb8..5715e34e7ed 100644 --- a/clang/lib/Checker/CFRefCount.cpp +++ b/clang/lib/Checker/CFRefCount.cpp @@ -19,7 +19,7 @@ #include "clang/Checker/BugReporter/BugType.h" #include "clang/Checker/BugReporter/PathDiagnostic.h" #include "clang/Checker/Checkers/LocalCheckers.h" -#include "clang/Checker/DomainSpecific/CocoaConventions.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" diff --git a/clang/lib/Checker/CMakeLists.txt b/clang/lib/Checker/CMakeLists.txt index 24383662f31..c6b4550b737 100644 --- a/clang/lib/Checker/CMakeLists.txt +++ b/clang/lib/Checker/CMakeLists.txt @@ -30,7 +30,6 @@ add_clang_library(clangChecker Checker.cpp CheckerHelpers.cpp ChrootChecker.cpp - CocoaConventions.cpp DereferenceChecker.cpp DivZeroChecker.cpp Environment.cpp |

