Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update Parser.h with changes from main branch
  • Loading branch information
Endilll committed May 12, 2025
commit 65b03faadefafd78b4ac0288b0052327d4d43e58
6 changes: 5 additions & 1 deletion clang/include/clang/Parse/Parser.h
Original file line number Diff line number Diff line change
Expand Up @@ -2825,6 +2825,8 @@ class Parser : public CodeCompletionHandler {
mutable IdentifierInfo *Ident_final;
mutable IdentifierInfo *Ident_GNU_final;
mutable IdentifierInfo *Ident_override;
mutable IdentifierInfo *Ident_trivially_relocatable_if_eligible;
mutable IdentifierInfo *Ident_replaceable_if_eligible;

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

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

bool MaybeParseTypeTransformTypeSpecifier(DeclSpec &DS);
Expand Down
Loading