Skip to content

Commit 65b03fa

Browse files
committed
Update Parser.h with changes from main branch
1 parent 56321ad commit 65b03fa

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

clang/include/clang/Parse/Parser.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2825,6 +2825,8 @@ class Parser : public CodeCompletionHandler {
28252825
mutable IdentifierInfo *Ident_final;
28262826
mutable IdentifierInfo *Ident_GNU_final;
28272827
mutable IdentifierInfo *Ident_override;
2828+
mutable IdentifierInfo *Ident_trivially_relocatable_if_eligible;
2829+
mutable IdentifierInfo *Ident_replaceable_if_eligible;
28282830

28292831
/// Representation of a class that has been parsed, including
28302832
/// any member function declarations or definitions that need to be
@@ -3117,7 +3119,9 @@ class Parser : public CodeCompletionHandler {
31173119
bool isCXX11FinalKeyword() const;
31183120

31193121
/// isClassCompatibleKeyword - Determine whether the next token is a C++11
3120-
/// 'final' or Microsoft 'sealed' or 'abstract' contextual keywords.
3122+
/// 'final', a C++26 'trivially_relocatable_if_eligible',
3123+
/// 'replaceable_if_eligible', or Microsoft 'sealed' or 'abstract' contextual
3124+
/// keyword.
31213125
bool isClassCompatibleKeyword() const;
31223126

31233127
bool MaybeParseTypeTransformTypeSpecifier(DeclSpec &DS);

0 commit comments

Comments
 (0)