mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-11 18:33:14 +01:00
"The Great Renaming" continues.
More changes to match the renamed files of LLVM 3.3.
This commit is contained in:
11
gen/llvm.h
11
gen/llvm.h
@@ -29,6 +29,9 @@
|
||||
#include "llvm/IR/Module.h"
|
||||
#include "llvm/IR/Value.h"
|
||||
#include "llvm/IR/Attributes.h"
|
||||
#include "llvm/IR/DataLayout.h"
|
||||
#include "llvm/IR/IRBuilder.h"
|
||||
#include "llvm/DebugInfo.h"
|
||||
#else
|
||||
#include "llvm/Type.h"
|
||||
#include "llvm/DerivedTypes.h"
|
||||
@@ -40,17 +43,17 @@
|
||||
#include "llvm/Module.h"
|
||||
#include "llvm/Value.h"
|
||||
#include "llvm/Attributes.h"
|
||||
#endif
|
||||
|
||||
#if LDC_LLVM_VER >= 302
|
||||
#if LDC_LLVM_VER == 302
|
||||
#include "llvm/DataLayout.h"
|
||||
#include "llvm/DebugInfo.h"
|
||||
#include "llvm/IRBuilder.h"
|
||||
#include "llvm/DebugInfo.h"
|
||||
#else
|
||||
#include "llvm/Target/TargetData.h"
|
||||
#include "llvm/Analysis/DebugInfo.h"
|
||||
#include "llvm/Support/IRBuilder.h"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
#include "gen/llvmcompat.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user