Skip to content

Commit

Permalink
[NFC] Fix build after llvm commit d0ae2391
Browse files Browse the repository at this point in the history
d0ae2391 adds RunTimeLang parameter to createEnumerationType function.
Use default value for the new parameter.
  • Loading branch information
wenju-he committed Nov 16, 2023
1 parent 3cfffb2 commit 42b0d49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/SPIRV/SPIRVToLLVMDbgTran.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -802,7 +802,7 @@ DINode *SPIRVToLLVMDbgTran::transTypeEnum(const SPIRVExtInst *DebugInst) {
UnderlyingType = transDebugInst<DIType>(static_cast<SPIRVExtInst *>(E));
return getDIBuilder(DebugInst).createEnumerationType(
Scope, Name, File, LineNo, SizeInBits, AlignInBits, Enumerators,
UnderlyingType, "", UnderlyingType);
UnderlyingType, 0, "", UnderlyingType);
}
}

Expand Down

0 comments on commit 42b0d49

Please sign in to comment.