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
This commit is contained in:
parent
b27bb86ba5
commit
853da96736
|
@ -11,8 +11,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_CHECKER_DS_COCOA
|
||||
#define LLVM_CLANG_CHECKER_DS_COCOA
|
||||
#ifndef LLVM_CLANG_ANALYSIS_DS_COCOA
|
||||
#define LLVM_CLANG_ANALYSIS_DS_COCOA
|
||||
|
||||
#include "clang/AST/Type.h"
|
||||
|
|
@ -6,6 +6,7 @@ add_clang_library(clangAnalysis
|
|||
AnalysisContext.cpp
|
||||
CFG.cpp
|
||||
CFGStmtMap.cpp
|
||||
CocoaConventions.cpp
|
||||
FormatString.cpp
|
||||
LiveVariables.cpp
|
||||
PrintfFormatString.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"
|
|
@ -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"
|
||||
|
|
|
@ -30,7 +30,6 @@ add_clang_library(clangChecker
|
|||
Checker.cpp
|
||||
CheckerHelpers.cpp
|
||||
ChrootChecker.cpp
|
||||
CocoaConventions.cpp
|
||||
DereferenceChecker.cpp
|
||||
DivZeroChecker.cpp
|
||||
Environment.cpp
|
||||
|
|
Loading…
Reference in New Issue