diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2017-07-18 08:55:03 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2017-07-18 08:55:03 +0000 |
commit | 7f633dfe99e85f3dc2272b12b64dc2ad109ba663 (patch) | |
tree | 2637ba85df2487ccd04d9d93a7ce142f5fd18969 /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp | |
parent | c29e39d86a62b62df1bde92577779e5d5583ec88 (diff) | |
download | bcm5719-llvm-7f633dfe99e85f3dc2272b12b64dc2ad109ba663.tar.gz bcm5719-llvm-7f633dfe99e85f3dc2272b12b64dc2ad109ba663.zip |
[CMake] Move CLANG_ENABLE_(ARCMT|OBJC_REWRITER|STATIC_ANALYZER) into clang/Config/config.h.
LLVM_ENABLE_MODULES is sensitive of -D. Move them into config.h.
FIXME: 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/D35527
llvm-svn: 308277
Diffstat (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
-rw-r--r-- | clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp b/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp index a7c140188b3..16663155880 100644 --- a/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp +++ b/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp @@ -15,6 +15,7 @@ #include "clang/FrontendTool/Utils.h" #include "clang/ARCMigrate/ARCMTActions.h" #include "clang/CodeGen/CodeGenAction.h" +#include "clang/Config/config.h" #include "clang/Driver/Options.h" #include "clang/Frontend/CompilerInstance.h" #include "clang/Frontend/CompilerInvocation.h" |