From a36bd4c90dcca82be9b64f65dbd22e921b6485ef Mon Sep 17 00:00:00 2001 From: Arthur Eubanks Date: Tue, 24 Nov 2020 20:40:47 -0800 Subject: [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 --- clang/lib/Frontend/CompilerInvocation.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'clang/lib/Frontend/CompilerInvocation.cpp') 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" -- cgit v1.1