Re-add the Metadata.h include to LLVMContextImpl.h so that MDNode is complete
authorJeffrey Yasskin <jyasskin@google.com>
Sun, 21 Mar 2010 22:08:41 +0000 (22:08 +0000)
committerJeffrey Yasskin <jyasskin@google.com>
Sun, 21 Mar 2010 22:08:41 +0000 (22:08 +0000)
where FoldingSet<MDNode> is instantiated.  Clang and MSVC complain; gcc
doesn't.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99147 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/LLVMContextImpl.cpp
lib/VMCore/LLVMContextImpl.h

index dd825ad66f99b2eefe9c3c61a583fb147851b8cc..176ccf18e4eaf7ed759ea68ff438bf58ca3d365f 100644 (file)
@@ -12,7 +12,6 @@
 //===----------------------------------------------------------------------===//
 
 #include "LLVMContextImpl.h"
-#include "llvm/Metadata.h"
 
 LLVMContextImpl::LLVMContextImpl(LLVMContext &C)
   : TheTrueVal(0), TheFalseVal(0),
index 034f3b99979d7624e9900e4cac35087b5a075da6..8666f45f4a1e44cd807266551467a99ce7a94911 100644 (file)
@@ -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;