[CMake] Use #cmakedefine01 for CLANG_ENABLE_(ARCMT|OBJC_REWRITER|STATIC_ANALYZER)
authorNAKAMURA Takumi <geek4civic@gmail.com>
Wed, 18 Oct 2017 05:21:17 +0000 (05:21 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Wed, 18 Oct 2017 05:21:17 +0000 (05:21 +0000)
commitd97398240c4cd7d7db3e3390f4805513c58e0c29
tree10f2c5dfeb14ae85392fb9a1d9bbc23a5a2184c6
parent8b6b9cbb338be0f1fd6541699ab8d9a71e7bc0f1
[CMake] Use #cmakedefine01 for CLANG_ENABLE_(ARCMT|OBJC_REWRITER|STATIC_ANALYZER)

It'd be better that they are #cmakedefine01 rather than #cmakedefine.
(#if FOO rather than #if defined(FOO))
Then we can find missing #include "clang/Config/config.h" in the future.

Differential Revision: https://reviews.llvm.org/D35541

llvm-svn: 316061
clang/include/clang/Config/config.h.cmake
clang/lib/Frontend/Rewrite/FrontendActions.cpp
clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
clang/lib/Frontend/Rewrite/RewriteObjC.cpp
clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
clang/tools/libclang/ARCMigrate.cpp