Skip to content

Commit

Permalink
Fix windows build after 7c59e8 (intel#1970)
Browse files Browse the repository at this point in the history
patch by
Artur Gainullin <[email protected]>

Signed-off-by: Sidorov, Dmitry <[email protected]>

Original commit:
KhronosGroup/SPIRV-LLVM-Translator@858ca37
  • Loading branch information
MrSidims authored and againull committed Apr 25, 2023
1 parent 97a39f4 commit 394b23e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm-spirv/lib/SPIRV/SPIRVUtil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -729,7 +729,7 @@ parseNode(Module *M, const llvm::itanium_demangle::Node *ParamType,
while (true) {
if (auto *VendorTy = dyn_cast<VendorExtQualType>(Pointee)) {
Pointee = VendorTy->getTy();
StringRef Qualifier(VendorTy->getExt().begin(),
StringRef Qualifier(&*VendorTy->getExt().begin(),
VendorTy->getExt().size());
if (Qualifier.consume_front("AS")) {
Qualifier.getAsInteger(10, AS);
Expand Down

0 comments on commit 394b23e

Please sign in to comment.