Skip to content

Commit 61934f8

Browse files
authored
Revert "[Clang] Remove unneeded template keyword (#71435)"
This reverts commit 9c34678.
1 parent 9c34678 commit 61934f8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

clang/include/clang/AST/Redeclarable.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,9 @@ class Redeclarable {
114114

115115
bool isFirst() const {
116116
return Link.is<KnownLatest>() ||
117-
Link.get<NotKnownLatest>().is<UninitializedLatest>();
117+
// FIXME: 'template' is required on the next line due to an
118+
// apparent clang bug.
119+
Link.get<NotKnownLatest>().template is<UninitializedLatest>();
118120
}
119121

120122
decl_type *getPrevious(const decl_type *D) const {

0 commit comments

Comments
 (0)