Fix build with LLVM 3.2 dev top-of-tree
This commit is contained in:
6
type.cpp
6
type.cpp
@@ -789,7 +789,11 @@ EnumType::GetDIType(llvm::DIDescriptor scope) const {
|
||||
m->diBuilder->createEnumerationType(scope, name, diFile, pos.first_line,
|
||||
32 /* size in bits */,
|
||||
32 /* align in bits */,
|
||||
elementArray);
|
||||
elementArray
|
||||
#if !defined(LLVM_3_0) && !defined(LLVM_3_1)
|
||||
, llvm::DIType()
|
||||
#endif
|
||||
);
|
||||
|
||||
|
||||
switch (variability.type) {
|
||||
|
||||
Reference in New Issue
Block a user