summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorJeffrey Yasskin <jyasskin@google.com>2010-03-21 22:08:41 +0000
committerJeffrey Yasskin <jyasskin@google.com>2010-03-21 22:08:41 +0000
commitcd3706cd1c82bba082ecaa482d152b162cf09ca7 (patch)
tree5687cdb06bed9d34526479be8dd0717fbdf06c44 /llvm
parent4cfb3a7656b5d26d74d6efb9a9c7799a5433e021 (diff)
downloadbcm5719-llvm-cd3706cd1c82bba082ecaa482d152b162cf09ca7.tar.gz
bcm5719-llvm-cd3706cd1c82bba082ecaa482d152b162cf09ca7.zip
Re-add the Metadata.h include to LLVMContextImpl.h so that MDNode is complete
where FoldingSet<MDNode> is instantiated. Clang and MSVC complain; gcc doesn't. llvm-svn: 99147
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/VMCore/LLVMContextImpl.cpp1
-rw-r--r--llvm/lib/VMCore/LLVMContextImpl.h3
2 files changed, 1 insertions, 3 deletions
diff --git a/llvm/lib/VMCore/LLVMContextImpl.cpp b/llvm/lib/VMCore/LLVMContextImpl.cpp
index dd825ad66f9..176ccf18e4e 100644
--- a/llvm/lib/VMCore/LLVMContextImpl.cpp
+++ b/llvm/lib/VMCore/LLVMContextImpl.cpp
@@ -12,7 +12,6 @@
//===----------------------------------------------------------------------===//
#include "LLVMContextImpl.h"
-#include "llvm/Metadata.h"
LLVMContextImpl::LLVMContextImpl(LLVMContext &C)
: TheTrueVal(0), TheFalseVal(0),
diff --git a/llvm/lib/VMCore/LLVMContextImpl.h b/llvm/lib/VMCore/LLVMContextImpl.h
index 034f3b99979..8666f45f4a1 100644
--- a/llvm/lib/VMCore/LLVMContextImpl.h
+++ b/llvm/lib/VMCore/LLVMContextImpl.h
@@ -21,6 +21,7 @@
#include "llvm/LLVMContext.h"
#include "llvm/Constants.h"
#include "llvm/DerivedTypes.h"
+#include "llvm/Metadata.h"
#include "llvm/Assembly/Writer.h"
#include "llvm/Support/ValueHandle.h"
#include "llvm/ADT/APFloat.h"
@@ -35,8 +36,6 @@ namespace llvm {
class ConstantInt;
class ConstantFP;
-class MDString;
-class MDNode;
class LLVMContext;
class Type;
class Value;
OpenPOWER on IntegriCloud