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
This commit is contained in:
Jeffrey Yasskin 2010-03-21 22:08:41 +00:00
parent 4cfb3a7656
commit cd3706cd1c
2 changed files with 1 additions and 3 deletions

View File

@ -12,7 +12,6 @@
//===----------------------------------------------------------------------===//
#include "LLVMContextImpl.h"
#include "llvm/Metadata.h"
LLVMContextImpl::LLVMContextImpl(LLVMContext &C)
: TheTrueVal(0), TheFalseVal(0),

View 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;