Skip to content

Commit

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

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

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

0 comments on commit ef618b5

Please sign in to comment.