summaryrefslogtreecommitdiffstats
path: root/llvm/include
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2016-04-15 23:30:57 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2016-04-15 23:30:57 +0000
commit8517c8e81d2fc4181b3c87a1f1e367f9be229207 (patch)
tree56fe3ead9ddcac26eba6264663651a8d5520415d /llvm/include
parentfa1f613f7ef938c9d91741141d74ef4fafba3902 (diff)
downloadbcm5719-llvm-8517c8e81d2fc4181b3c87a1f1e367f9be229207.tar.gz
bcm5719-llvm-8517c8e81d2fc4181b3c87a1f1e367f9be229207.zip
Make this header include the header it depends on, rather than trying to include itself. Found by C++ modules build.
llvm-svn: 266492
Diffstat (limited to 'llvm/include')
-rw-r--r--llvm/include/llvm/Support/CodeGenCWrappers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Support/CodeGenCWrappers.h b/llvm/include/llvm/Support/CodeGenCWrappers.h
index a97f1a4ec19..6db4433a435 100644
--- a/llvm/include/llvm/Support/CodeGenCWrappers.h
+++ b/llvm/include/llvm/Support/CodeGenCWrappers.h
@@ -17,8 +17,8 @@
#define LLVM_SUPPORT_CODEGENCWRAPPERS_H
#include "llvm-c/TargetMachine.h"
+#include "llvm/Support/CodeGen.h"
#include "llvm/Support/ErrorHandling.h"
-#include "llvm/Support/CodeGenCWrappers.h"
namespace llvm {
OpenPOWER on IntegriCloud