diff options
author | Arthur Eubanks <aeubanks@google.com> | 2020-11-24 20:40:47 -0800 |
---|---|---|
committer | Arthur Eubanks <aeubanks@google.com> | 2020-12-01 11:42:17 -0800 |
commit | a36bd4c90dcca82be9b64f65dbd22e921b6485ef (patch) | |
tree | 32b81b6142c5f326d4009864bb1b0dfa042eaa8f /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | cacb1a9f930e35371c885cb572823626fc90a0ee (diff) | |
download | llvm-a36bd4c90dcca82be9b64f65dbd22e921b6485ef.zip llvm-a36bd4c90dcca82be9b64f65dbd22e921b6485ef.tar.gz llvm-a36bd4c90dcca82be9b64f65dbd22e921b6485ef.tar.bz2 |
[CMake][NewPM] Move ENABLE_EXPERIMENTAL_NEW_PASS_MANAGER into llvm/
This allows us to use its value everywhere, rather than just clang. Some
other places, like opt and lld, will use its value soon.
The #define for it is now in llvm-config.h.
Reviewed By: rnk, hans
Differential Revision: https://reviews.llvm.org/D92072
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r-- | clang/lib/Frontend/CompilerInvocation.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp index f72e0fc..068c860 100644 --- a/clang/lib/Frontend/CompilerInvocation.cpp +++ b/clang/lib/Frontend/CompilerInvocation.cpp @@ -58,6 +58,7 @@ #include "llvm/ADT/StringSwitch.h" #include "llvm/ADT/Triple.h" #include "llvm/ADT/Twine.h" +#include "llvm/Config/llvm-config.h" #include "llvm/IR/DebugInfoMetadata.h" #include "llvm/Linker/Linker.h" #include "llvm/MC/MCTargetOptions.h" |