Skip to content

Commit bdf9a65

Browse files
shafikzahiraam
authored andcommitted
[Clang] Remove unneeded template keyword (#71435)
As noted in this bug report: llvm/llvm-project#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 de9f767 commit bdf9a65

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)