diff options
author | Alp Toker <alp@nuanti.com> | 2014-06-04 03:28:55 +0000 |
---|---|---|
committer | Alp Toker <alp@nuanti.com> | 2014-06-04 03:28:55 +0000 |
commit | 1d257e1d0aa4bad059b05bb35fc39a707f4cbb0a (patch) | |
tree | 845fba14c2c359f7a2de4449ec9c1f1cd53ef724 /clang/lib/Frontend/CompilerInstance.cpp | |
parent | 423f78f415cb5980c94113f4d46bb84189bc1071 (diff) | |
download | bcm5719-llvm-1d257e1d0aa4bad059b05bb35fc39a707f4cbb0a.tar.gz bcm5719-llvm-1d257e1d0aa4bad059b05bb35fc39a707f4cbb0a.zip |
Remove the last remaining llvm/Config/config.h includes
This corrects long-standing misuses of LLVM's internal config.h.
In most cases the public llvm-config.h header was intended and we can now
remove the old hacks thanks to LLVM r210144.
The config.h header is private, won't be installed and should no longer be
included by clang or other modules.
llvm-svn: 210145
Diffstat (limited to 'clang/lib/Frontend/CompilerInstance.cpp')
-rw-r--r-- | clang/lib/Frontend/CompilerInstance.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Frontend/CompilerInstance.cpp b/clang/lib/Frontend/CompilerInstance.cpp index ac20d7a28e5..a967c0ab546 100644 --- a/clang/lib/Frontend/CompilerInstance.cpp +++ b/clang/lib/Frontend/CompilerInstance.cpp @@ -33,7 +33,6 @@ #include "clang/Serialization/ASTReader.h" #include "clang/Serialization/GlobalModuleIndex.h" #include "llvm/ADT/Statistic.h" -#include "llvm/Config/config.h" #include "llvm/Support/CrashRecoveryContext.h" #include "llvm/Support/FileSystem.h" #include "llvm/Support/Host.h" @@ -710,7 +709,9 @@ bool CompilerInstance::ExecuteAction(FrontendAction &Act) { // Validate/process some options. if (getHeaderSearchOpts().Verbose) OS << "clang -cc1 version " CLANG_VERSION_STRING +#ifdef PACKAGE_STRING << " based upon " << PACKAGE_STRING +#endif << " default target " << llvm::sys::getDefaultTargetTriple() << "\n"; if (getFrontendOpts().ShowTimers) |