Skip to content

Commit 005c78a

Browse files
[Backport to llvm_release_170] Fix potential constructor ambiguity in BuiltinCallMutator::ValueTypePair (#3271)
Backport of PR #3268 into `llvm_release_170`. All commits applied cleanly. Co-authored-by: Jakub Jakacki <[email protected]>
1 parent c1087c8 commit 005c78a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/SPIRV/SPIRVBuiltinHelper.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@ class BuiltinCallMutator {
139139
"Must specify a pointer element type if value is a pointer.");
140140
}
141141
ValueTypePair(std::pair<llvm::Value *, llvm::Type *> P) : pair(P) {}
142-
ValueTypePair(llvm::Value *V, llvm::Type *T) : pair(V, T) {}
143142
ValueTypePair() = delete;
144143
using pair::pair;
145144
};

0 commit comments

Comments
 (0)