clang
6.0.0
|
Public Member Functions | |
ConditionDeclarationOrInitStatementState (Parser &P, bool CanBeInitStatement) | |
void | markNotExpression () |
bool | markNotCondition () |
bool | update (TPResult IsDecl) |
ConditionOrInitStatement | result () const |
Public Attributes | |
Parser & | P |
bool | CanBeExpression = true |
bool | CanBeCondition = true |
bool | CanBeInitStatement |
Definition at line 343 of file ParseTentative.cpp.
|
inline |
Definition at line 349 of file ParseTentative.cpp.
|
inline |
Definition at line 369 of file ParseTentative.cpp.
References CanBeExpression.
Referenced by clang::Parser::ConditionDeclarationOrInitStatementState::result().
|
inline |
Definition at line 352 of file ParseTentative.cpp.
References clang::Token::isNot(), clang::Parser::SkipUntil(), and clang::Parser::StopBeforeMatch.
Referenced by clang::Parser::ConditionDeclarationOrInitStatementState::result().
|
inline |
Definition at line 391 of file ParseTentative.cpp.
References clang::Parser::ConditionDeclarationOrInitStatementState::CanBeCondition, clang::Parser::ConditionDeclarationOrInitStatementState::CanBeInitStatement, clang::Parser::getLangOpts(), clang::format::FormatToken::is(), clang::format::FormatToken::isOneOf(), clang::Parser::ConditionDeclarationOrInitStatementState::markNotCondition(), clang::Parser::ConditionDeclarationOrInitStatementState::markNotExpression(), clang::Parser::ConditionDeclarationOrInitStatementState::result(), clang::Parser::SkipUntil(), State, clang::Parser::StopAtSemi, clang::Parser::TryConsumeToken(), and clang::Parser::ConditionDeclarationOrInitStatementState::update().
Referenced by clang::Parser::ConditionDeclarationOrInitStatementState::result().
|
inline |
Definition at line 374 of file ParseTentative.cpp.
Referenced by clang::Parser::ConditionDeclarationOrInitStatementState::result().
Definition at line 346 of file ParseTentative.cpp.
Referenced by clang::Parser::ConditionDeclarationOrInitStatementState::result().
Definition at line 345 of file ParseTentative.cpp.
bool clang::Parser::ConditionDeclarationOrInitStatementState::CanBeInitStatement |
Definition at line 347 of file ParseTentative.cpp.
Referenced by clang::Parser::ConditionDeclarationOrInitStatementState::result().
Parser& clang::Parser::ConditionDeclarationOrInitStatementState::P |
Definition at line 344 of file ParseTentative.cpp.