[PATCH] D121047: Add missing template keywords
Christoph GrĂ¼ninger via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 21 15:38:43 PDT 2022
gruenich updated this revision to Diff 417118.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D121047/new/
https://reviews.llvm.org/D121047
Files:
llvm/include/llvm/ADT/PointerSumType.h
Index: llvm/include/llvm/ADT/PointerSumType.h
===================================================================
--- llvm/include/llvm/ADT/PointerSumType.h
+++ llvm/include/llvm/ADT/PointerSumType.h
@@ -272,11 +272,12 @@
using SomePointerInfo = DenseMapInfo<SomePointerT>;
static inline SumType getEmptyKey() {
- return SumType::create<SomeTag>(SomePointerInfo::getEmptyKey());
+ return SumType::template create<SomeTag>(SomePointerInfo::getEmptyKey());
}
static inline SumType getTombstoneKey() {
- return SumType::create<SomeTag>(SomePointerInfo::getTombstoneKey());
+ return SumType::template create<SomeTag>(
+ SomePointerInfo::getTombstoneKey());
}
static unsigned getHashValue(const SumType &Arg) {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121047.417118.patch
Type: text/x-patch
Size: 749 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220321/5e39712c/attachment.bin>
More information about the llvm-commits
mailing list