mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-11 05:16:19 +03:00
Fix include for LLVM 3.5
This commit is contained in:
parent
52a17c3a34
commit
b4b71e6c79
1 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue