Skip to content

Commit 872bf52

Browse files
MrSidimsagainull
authored andcommitted
Fix windows build after 7c59e8 (intel#1970)
patch by Artur Gainullin <[email protected]> Signed-off-by: Sidorov, Dmitry <[email protected]> Original commit: KhronosGroup/SPIRV-LLVM-Translator@858ca37
1 parent 83833f9 commit 872bf52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm-spirv/lib/SPIRV/SPIRVUtil.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -729,7 +729,7 @@ parseNode(Module *M, const llvm::itanium_demangle::Node *ParamType,
729729
while (true) {
730730
if (auto *VendorTy = dyn_cast<VendorExtQualType>(Pointee)) {
731731
Pointee = VendorTy->getTy();
732-
StringRef Qualifier(VendorTy->getExt().begin(),
732+
StringRef Qualifier(&*VendorTy->getExt().begin(),
733733
VendorTy->getExt().size());
734734
if (Qualifier.consume_front("AS")) {
735735
Qualifier.getAsInteger(10, AS);

0 commit comments

Comments
 (0)