summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend
diff options
context:
space:
mode:
authorDylan Noblesmith <nobled@dreamwidth.org>2011-06-23 12:20:57 +0000
committerDylan Noblesmith <nobled@dreamwidth.org>2011-06-23 12:20:57 +0000
commit321cdb855114ee2cce3164fab35dd5e112131378 (patch)
tree42236a53a949e2f7c8ac8791f6f5a51dc46803cb /clang/lib/Frontend
parentf4907266331c9a25781d62de328726cc83ab932e (diff)
downloadbcm5719-llvm-321cdb855114ee2cce3164fab35dd5e112131378.tar.gz
bcm5719-llvm-321cdb855114ee2cce3164fab35dd5e112131378.zip
avoid using config.h in public headers
This is the only usage in clang's headers, and it's for a define that only exists on CMake builds for the sake of the MSVC compiler, so just use an ifdef instead. Also add an include for config.h in a file that actually needs it, and was picking it up by accident indirectly. llvm-svn: 133710
Diffstat (limited to 'clang/lib/Frontend')
-rw-r--r--clang/lib/Frontend/CompilerInstance.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Frontend/CompilerInstance.cpp b/clang/lib/Frontend/CompilerInstance.cpp
index 38fcfe3c471..cb91c89e46c 100644
--- a/clang/lib/Frontend/CompilerInstance.cpp
+++ b/clang/lib/Frontend/CompilerInstance.cpp
@@ -38,6 +38,7 @@
#include "llvm/Support/Program.h"
#include "llvm/Support/Signals.h"
#include "llvm/Support/system_error.h"
+#include "llvm/Config/config.h"
using namespace clang;
CompilerInstance::CompilerInstance()
OpenPOWER on IntegriCloud