Home
last modified time | relevance | path

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

/external/clang/include/clang/AST/
DStmt.h958 SourceLocation SwitchLoc; variable
1007 SourceLocation getSwitchLoc() const { return SwitchLoc; } in getSwitchLoc()
1008 void setSwitchLoc(SourceLocation L) { SwitchLoc = L; } in setSwitchLoc()
1012 SwitchLoc = SL; in setBody()
1029 SourceLocation getLocStart() const LLVM_READONLY { return SwitchLoc; } in getLocStart()
/external/clang/lib/Parse/
DParseStmt.cpp1257 SourceLocation SwitchLoc = ConsumeToken(); // eat the 'switch'. in ParseSwitchStatement() local
1287 if (ParseParenExprOrCondition(&InitStmt, Cond, SwitchLoc, in ParseSwitchStatement()
1292 Actions.ActOnStartOfSwitchStmt(SwitchLoc, InitStmt.get(), Cond); in ParseSwitchStatement()
1333 return Actions.ActOnFinishSwitchStmt(SwitchLoc, Switch.get(), Body.get()); in ParseSwitchStatement()
/external/clang/lib/Sema/
DSemaStmt.cpp609 ExprResult Sema::CheckSwitchCondition(SourceLocation SwitchLoc, Expr *Cond) { in CheckSwitchCondition() argument
658 PerformContextualImplicitConversion(SwitchLoc, Cond, SwitchDiagnoser); in CheckSwitchCondition()
666 StmtResult Sema::ActOnStartOfSwitchStmt(SourceLocation SwitchLoc, in ActOnStartOfSwitchStmt() argument
739 Sema::ActOnFinishSwitchStmt(SourceLocation SwitchLoc, Stmt *Switch, in ActOnFinishSwitchStmt() argument
748 SS->setBody(BodyStmt, SwitchLoc); in ActOnFinishSwitchStmt()
777 Diag(SwitchLoc, diag::warn_bool_switch_condition) in ActOnFinishSwitchStmt()
DTreeTransform.h1187 StmtResult RebuildSwitchStmtStart(SourceLocation SwitchLoc, Stmt *Init, in RebuildSwitchStmtStart() argument
1189 return getSema().ActOnStartOfSwitchStmt(SwitchLoc, Init, Cond); in RebuildSwitchStmtStart()
1196 StmtResult RebuildSwitchStmtBody(SourceLocation SwitchLoc, in RebuildSwitchStmtBody() argument
1198 return getSema().ActOnFinishSwitchStmt(SwitchLoc, Switch, Body); in RebuildSwitchStmtBody()
/external/clang/include/clang/Sema/
DSema.h3407 StmtResult ActOnStartOfSwitchStmt(SourceLocation SwitchLoc,
3410 StmtResult ActOnFinishSwitchStmt(SourceLocation SwitchLoc,
9023 ExprResult CheckSwitchCondition(SourceLocation SwitchLoc, Expr *Cond);