llvm-project/clang/lib/Analysis/CMakeLists.txt
Artem Dergachev 3b7af2796b Revert "Revert "[-Wunsafe-buffer-usage] Initial commit - Transition away from raw buffers.""
This reverts commit bc0617795f.

Be more careful with #includes to avoid linker errors on some buildbots.
2022-12-08 16:57:59 -08:00

49 lines
859 B
CMake

set(LLVM_LINK_COMPONENTS
FrontendOpenMP
Support
)
add_clang_library(clangAnalysis
AnalysisDeclContext.cpp
BodyFarm.cpp
CalledOnceCheck.cpp
CFG.cpp
CFGReachabilityAnalysis.cpp
CFGStmtMap.cpp
CallGraph.cpp
CloneDetection.cpp
CocoaConventions.cpp
ConstructionContext.cpp
Consumed.cpp
CodeInjector.cpp
Dominators.cpp
ExprMutationAnalyzer.cpp
IssueHash.cpp
LiveVariables.cpp
MacroExpansionContext.cpp
ObjCNoReturn.cpp
PathDiagnostic.cpp
PostOrderCFGView.cpp
ProgramPoint.cpp
ReachableCode.cpp
RetainSummaryManager.cpp
ThreadSafety.cpp
ThreadSafetyCommon.cpp
ThreadSafetyLogical.cpp
ThreadSafetyTIL.cpp
UninitializedValues.cpp
UnsafeBufferUsage.cpp
LINK_LIBS
clangAST
clangASTMatchers
clangBasic
clangLex
DEPENDS
omp_gen
)
add_subdirectory(plugins)
add_subdirectory(FlowSensitive)