clang 20.0.0git
|
Public Member Functions | |
ConditionDeclarationOrInitStatementState (Parser &P, bool CanBeInitStatement, bool CanBeForRangeDecl) | |
bool | resolved () |
void | markNotExpression () |
bool | markNotCondition () |
bool | markNotForRangeDecl () |
bool | update (TPResult IsDecl) |
ConditionOrInitStatement | result () const |
Public Attributes | |
Parser & | P |
bool | CanBeExpression = true |
bool | CanBeCondition = true |
bool | CanBeInitStatement |
bool | CanBeForRangeDecl |
Definition at line 384 of file ParseTentative.cpp.
|
inline |
Definition at line 391 of file ParseTentative.cpp.
|
inline |
Definition at line 443 of file ParseTentative.cpp.
References clang::Parser::ConditionDeclarationOrInitStatementState::CanBeCondition, and clang::Parser::ConditionDeclarationOrInitStatementState::resolved().
|
inline |
Definition at line 401 of file ParseTentative.cpp.
References clang::Parser::ConditionDeclarationOrInitStatementState::CanBeCondition, clang::Parser::ConditionDeclarationOrInitStatementState::CanBeExpression, clang::Parser::ConditionDeclarationOrInitStatementState::CanBeForRangeDecl, clang::Parser::ConditionDeclarationOrInitStatementState::CanBeInitStatement, clang::Parser::ConsumeToken(), clang::Token::is(), clang::Token::isNot(), clang::Parser::ConditionDeclarationOrInitStatementState::P, clang::Parser::ConditionDeclarationOrInitStatementState::resolved(), clang::Parser::SkipUntil(), and clang::Parser::StopBeforeMatch.
Referenced by clang::Parser::ConditionDeclarationOrInitStatementState::update().
|
inline |
Definition at line 448 of file ParseTentative.cpp.
References clang::Parser::ConditionDeclarationOrInitStatementState::CanBeForRangeDecl, and clang::Parser::ConditionDeclarationOrInitStatementState::resolved().
|
inline |
Definition at line 396 of file ParseTentative.cpp.
References clang::Parser::ConditionDeclarationOrInitStatementState::CanBeCondition, clang::Parser::ConditionDeclarationOrInitStatementState::CanBeExpression, clang::Parser::ConditionDeclarationOrInitStatementState::CanBeForRangeDecl, and clang::Parser::ConditionDeclarationOrInitStatementState::CanBeInitStatement.
Referenced by clang::Parser::ConditionDeclarationOrInitStatementState::markNotCondition(), clang::Parser::ConditionDeclarationOrInitStatementState::markNotExpression(), clang::Parser::ConditionDeclarationOrInitStatementState::markNotForRangeDecl(), and clang::Parser::ConditionDeclarationOrInitStatementState::update().
|
inline |
Definition at line 472 of file ParseTentative.cpp.
References clang::Parser::ConditionDeclarationOrInitStatementState::CanBeCondition, clang::Parser::ConditionDeclarationOrInitStatementState::CanBeExpression, clang::Parser::ConditionDeclarationOrInitStatementState::CanBeForRangeDecl, and clang::Parser::ConditionDeclarationOrInitStatementState::CanBeInitStatement.
|
inline |
Definition at line 453 of file ParseTentative.cpp.
References clang::Parser::ConditionDeclarationOrInitStatementState::CanBeCondition, clang::Parser::ConditionDeclarationOrInitStatementState::CanBeExpression, clang::Parser::ConditionDeclarationOrInitStatementState::CanBeForRangeDecl, clang::Parser::ConditionDeclarationOrInitStatementState::CanBeInitStatement, clang::Parser::ConditionDeclarationOrInitStatementState::markNotExpression(), and clang::Parser::ConditionDeclarationOrInitStatementState::resolved().
Definition at line 387 of file ParseTentative.cpp.
Referenced by clang::Parser::ConditionDeclarationOrInitStatementState::markNotCondition(), clang::Parser::ConditionDeclarationOrInitStatementState::markNotExpression(), clang::Parser::ConditionDeclarationOrInitStatementState::resolved(), clang::Parser::ConditionDeclarationOrInitStatementState::result(), and clang::Parser::ConditionDeclarationOrInitStatementState::update().
Definition at line 386 of file ParseTentative.cpp.
Referenced by clang::Parser::ConditionDeclarationOrInitStatementState::markNotExpression(), clang::Parser::ConditionDeclarationOrInitStatementState::resolved(), clang::Parser::ConditionDeclarationOrInitStatementState::result(), and clang::Parser::ConditionDeclarationOrInitStatementState::update().
bool clang::Parser::ConditionDeclarationOrInitStatementState::CanBeForRangeDecl |
Definition at line 389 of file ParseTentative.cpp.
Referenced by clang::Parser::ConditionDeclarationOrInitStatementState::markNotExpression(), clang::Parser::ConditionDeclarationOrInitStatementState::markNotForRangeDecl(), clang::Parser::ConditionDeclarationOrInitStatementState::resolved(), clang::Parser::ConditionDeclarationOrInitStatementState::result(), and clang::Parser::ConditionDeclarationOrInitStatementState::update().
bool clang::Parser::ConditionDeclarationOrInitStatementState::CanBeInitStatement |
Definition at line 388 of file ParseTentative.cpp.
Referenced by clang::Parser::ConditionDeclarationOrInitStatementState::markNotExpression(), clang::Parser::ConditionDeclarationOrInitStatementState::resolved(), clang::Parser::ConditionDeclarationOrInitStatementState::result(), and clang::Parser::ConditionDeclarationOrInitStatementState::update().
Parser& clang::Parser::ConditionDeclarationOrInitStatementState::P |
Definition at line 385 of file ParseTentative.cpp.
Referenced by clang::Parser::ConditionDeclarationOrInitStatementState::markNotExpression().