"The Great Renaming" continues.

More changes to match the renamed files of LLVM 3.3.
This commit is contained in:
kai
2013-01-06 17:17:30 +01:00
parent 82a3216619
commit a11459bc31
27 changed files with 120 additions and 23 deletions

View File

@@ -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"