Home
last modified time | relevance | path

Searched refs:SwitchLoc (Results 1 – 5 of 5) sorted by relevance

/external/clang/include/clang/AST/
DStmt.h917 SourceLocation SwitchLoc; variable
961 SourceLocation getSwitchLoc() const { return SwitchLoc; } in getSwitchLoc()
962 void setSwitchLoc(SourceLocation L) { SwitchLoc = L; } in setSwitchLoc()
966 SwitchLoc = SL; in setBody()
987 SourceLocation getLocStart() const LLVM_READONLY { return SwitchLoc; } in getLocStart()
/external/clang/lib/Sema/
DSemaStmt.cpp570 Sema::ActOnStartOfSwitchStmt(SourceLocation SwitchLoc, Expr *Cond, in ActOnStartOfSwitchStmt() argument
635 PerformContextualImplicitConversion(SwitchLoc, Cond, SwitchDiagnoser); in ActOnStartOfSwitchStmt()
645 CondResult = ActOnFinishFullExpr(Cond, SwitchLoc); in ActOnStartOfSwitchStmt()
667 Sema::ActOnFinishSwitchStmt(SourceLocation SwitchLoc, Stmt *Switch, in ActOnFinishSwitchStmt() argument
673 SS->setBody(BodyStmt, SwitchLoc); in ActOnFinishSwitchStmt()
703 Diag(SwitchLoc, diag::warn_bool_switch_condition) in ActOnFinishSwitchStmt()
DTreeTransform.h1103 StmtResult RebuildSwitchStmtStart(SourceLocation SwitchLoc, in RebuildSwitchStmtStart() argument
1105 return getSema().ActOnStartOfSwitchStmt(SwitchLoc, Cond, in RebuildSwitchStmtStart()
1113 StmtResult RebuildSwitchStmtBody(SourceLocation SwitchLoc, in RebuildSwitchStmtBody() argument
1115 return getSema().ActOnFinishSwitchStmt(SwitchLoc, Switch, Body); in RebuildSwitchStmtBody()
/external/clang/lib/Parse/
DParseStmt.cpp1091 SourceLocation SwitchLoc = ConsumeToken(); // eat the 'switch'. in ParseSwitchStatement() local
1121 if (ParseParenExprOrCondition(Cond, CondVar, SwitchLoc, false)) in ParseSwitchStatement()
1125 = Actions.ActOnStartOfSwitchStmt(SwitchLoc, Cond.get(), CondVar); in ParseSwitchStatement()
1170 return Actions.ActOnFinishSwitchStmt(SwitchLoc, Switch.get(), Body.get()); in ParseSwitchStatement()
/external/clang/include/clang/Sema/
DSema.h2826 StmtResult ActOnStartOfSwitchStmt(SourceLocation SwitchLoc,
2829 StmtResult ActOnFinishSwitchStmt(SourceLocation SwitchLoc,