Skip to content

Commit 9c34678

Browse files
authored
[Clang] Remove unneeded template keyword (#71435)
As noted in this bug report: #37647 Due to this clang bug we added the template keyword in Redeclarable.h. The bug has been fixed since then, so removing it.
1 parent ba2f40a commit 9c34678

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

clang/include/clang/AST/Redeclarable.h

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

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

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

0 commit comments

Comments
 (0)