mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-03 16:41:06 +03:00
Fix includes for LLVM 3.5
This commit is contained in:
parent
5b14a5e5c4
commit
2f2fa92df3
11 changed files with 51 additions and 2 deletions
|
@ -34,7 +34,11 @@
|
|||
#include "llvm/Target/TargetLibraryInfo.h"
|
||||
#include "llvm/Target/TargetMachine.h"
|
||||
#include "llvm/Support/CommandLine.h"
|
||||
#if LDC_LLVM_VER >= 305
|
||||
#include "llvm/IR/LegacyPassNameParser.h"
|
||||
#else
|
||||
#include "llvm/Support/PassNameParser.h"
|
||||
#endif
|
||||
#include "llvm/Transforms/Instrumentation.h"
|
||||
#include "llvm/Transforms/IPO.h"
|
||||
#include "llvm/Transforms/IPO/PassManagerBuilder.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue