[PATCH] D121047: Add missing template keywords
Alexey Bataev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 7 07:13:09 PDT 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rG8e066b86a732: Add missing template keywords (authored by ABataev).
Repository:
rG LLVM Github Monorepo
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.421196.patch
Type: text/x-patch
Size: 749 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220407/d720a47f/attachment-0001.bin>
More information about the llvm-commits
mailing list