Jiboo added inline comments.
Comment at: clang/lib/Analysis/plugins/CMakeLists.txt:1-2
-if(CLANG_ENABLE_STATIC_ANALYZER AND LLVM_ENABLE_PLUGINS)
+if(CLANG_ENABLE_STATIC_ANALYZER AND LLVM_ENABLE_PLUGINS AND
CLANG_BUILD_EXAMPLES)
add_subdirectory(SampleAnalyzer)
add_subdirec
Jiboo updated this revision to Diff 221181.
Jiboo marked 3 inline comments as done.
Jiboo added a comment.
Update to add -U99, although dunno why I don't get more context on
clang/lib/Analysis/plugins/CMakeLists.txt.
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.o
lebedev.ri added a comment.
Please upload all patches with full context (`-U9`)
Comment at: clang/lib/Analysis/plugins/CMakeLists.txt:1-2
-if(CLANG_ENABLE_STATIC_ANALYZER AND LLVM_ENABLE_PLUGINS)
+if(CLANG_ENABLE_STATIC_ANALYZER AND LLVM_ENABLE_PLUGINS AND
CLANG_BUILD_EXAM
Jiboo created this revision.
Jiboo added a reviewer: chandlerc.
Herald added subscribers: cfe-commits, mgorny.
Herald added a project: clang.
Without this patch, the clang Analysis plugin examples (in
clang/lib/Analysis/plugins) are always built and installed even if
CLANG_BUILD_EXAMPLES is OFF.