mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-26 09:33:13 +01:00
Fix include for LLVM 3.5
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user