Skip to content

Commit

Permalink
[Clang] Remove unneeded template keyword (#71435)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
shafik committed Nov 7, 2023
1 parent ba2f40a commit 9c34678
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions clang/include/clang/AST/Redeclarable.h
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,7 @@ class Redeclarable {

bool isFirst() const {
return Link.is<KnownLatest>() ||
// FIXME: 'template' is required on the next line due to an
// apparent clang bug.
Link.get<NotKnownLatest>().template is<UninitializedLatest>();
Link.get<NotKnownLatest>().is<UninitializedLatest>();
}

decl_type *getPrevious(const decl_type *D) const {
Expand Down

0 comments on commit 9c34678

Please sign in to comment.