struct Parser::ConditionDeclarationOrInitStatementState

Declaration

struct Parser::ConditionDeclarationOrInitStatementState { /* full declaration omitted */ };

Declared at: clang/lib/Parse/ParseTentative.cpp:327

Member Variables

public clang::Parser& P
public bool CanBeExpression = true
public bool CanBeCondition = true
public bool CanBeInitStatement
public bool CanBeForRangeDecl

Method Overview

Methods

ConditionDeclarationOrInitStatementState(
    clang::Parser& P,
    bool CanBeInitStatement,
    bool CanBeForRangeDecl)

Declared at: clang/lib/Parse/ParseTentative.cpp:334

Parameters

clang::Parser& P
bool CanBeInitStatement
bool CanBeForRangeDecl

bool markNotCondition()

Declared at: clang/lib/Parse/ParseTentative.cpp:386

void markNotExpression()

Declared at: clang/lib/Parse/ParseTentative.cpp:344

bool markNotForRangeDecl()

Declared at: clang/lib/Parse/ParseTentative.cpp:391

bool resolved()

Declared at: clang/lib/Parse/ParseTentative.cpp:339

clang::Parser::ConditionOrInitStatement result()
    const

Declared at: clang/lib/Parse/ParseTentative.cpp:415

bool update(clang::Parser::TPResult IsDecl)

Declared at: clang/lib/Parse/ParseTentative.cpp:396

Parameters

clang::Parser::TPResult IsDecl