Skip to content

Commit 865af5d

Browse files
authored
[NFC] Fix build after llvm commit d0ae2391 (#2219)
d0ae2391 adds RunTimeLang parameter to createEnumerationType function. Use default value for the new parameter.
1 parent 4d65d27 commit 865af5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/SPIRV/SPIRVToLLVMDbgTran.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -802,7 +802,7 @@ DINode *SPIRVToLLVMDbgTran::transTypeEnum(const SPIRVExtInst *DebugInst) {
802802
UnderlyingType = transDebugInst<DIType>(static_cast<SPIRVExtInst *>(E));
803803
return getDIBuilder(DebugInst).createEnumerationType(
804804
Scope, Name, File, LineNo, SizeInBits, AlignInBits, Enumerators,
805-
UnderlyingType, "", UnderlyingType);
805+
UnderlyingType, 0, "", UnderlyingType);
806806
}
807807
}
808808

0 commit comments

Comments
 (0)