]> granicus.if.org Git - clang/commit
[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)
commit635ffc9d026d28c788250e4b0c801d59c2599412
tree0db9aaecde803ec209c9bf27bfb13cd3b6bead28
parente940f2f16cf8f70783249a3f2573fd5ebefcf735
[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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@316061 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Config/config.h.cmake
lib/Frontend/Rewrite/FrontendActions.cpp
lib/Frontend/Rewrite/RewriteModernObjC.cpp
lib/Frontend/Rewrite/RewriteObjC.cpp
lib/FrontendTool/ExecuteCompilerInvocation.cpp
tools/libclang/ARCMigrate.cpp