support of LLVM 3.5

This commit is contained in:
Ilia Filippov
2013-11-21 19:09:43 +04:00
parent 357f115f11
commit 3fd9d5a025
8 changed files with 27 additions and 21 deletions

View File

@@ -2879,7 +2879,7 @@ FunctionType::GetDIType(llvm::DIDescriptor scope) const {
for (int i = 0; i < GetNumParameters(); ++i) {
const Type *t = GetParameterType(i);
if (t == NULL)
#if defined(LLVM_3_4)
#if defined(LLVM_3_4) || defined(LLVM_3_5)
return llvm::DICompositeType();
#else
return llvm::DIType();