mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-27 09:03:15 +01:00
AttrListPtr is renamed to AttributeSet in LLVM 3.3.
This commit is contained in:
@@ -220,7 +220,11 @@ static void LLVM_D_BuildRuntimeModule()
|
||||
|
||||
// Construct some attribute lists used below (possibly multiple times)
|
||||
#if LDC_LLVM_VER >= 302
|
||||
#if LDC_LLVM_VER >= 303
|
||||
llvm::AttributeSet
|
||||
#else
|
||||
llvm::AttrListPtr
|
||||
#endif
|
||||
NoAttrs,
|
||||
Attr_NoAlias
|
||||
= NoAttrs.addAttr(gIR->context(), 0, llvm::Attributes::get(gIR->context(), llvm::AttrBuilder().addAttribute(llvm::Attributes::NoAlias))),
|
||||
|
||||
Reference in New Issue
Block a user