Fix include for LLVM 3.5

This commit is contained in:
Kai Nacke 2014-01-12 11:37:52 +01:00
parent 52a17c3a34
commit b4b71e6c79

View file

@ -300,7 +300,11 @@ llvm::FunctionType* DtoFunctionType(Type* type, IrFuncTy &irFty, Type* thistype,
#include "llvm/Support/raw_ostream.h"
#include "llvm/Support/SourceMgr.h"
#if LDC_LLVM_VER >= 305
#include "llvm/AsmParser/Parser.h"
#else
#include "llvm/Assembly/Parser.h"
#endif
LLFunction* DtoInlineIRFunction(FuncDeclaration* fdecl)
{