Home
last modified time | relevance | path

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

/external/clang/lib/Parse/
DParseStmt.cpp1191 SourceLocation SwitchLoc = ConsumeToken(); // eat the 'switch'. in ParseSwitchStatement() local
1221 if (ParseParenExprOrCondition(Cond, CondVar, SwitchLoc, false)) in ParseSwitchStatement()
1225 = Actions.ActOnStartOfSwitchStmt(SwitchLoc, Cond.get(), CondVar); in ParseSwitchStatement()
1266 return Actions.ActOnFinishSwitchStmt(SwitchLoc, Switch.get(), Body.get()); in ParseSwitchStatement()
/external/clang/include/clang/AST/
DStmt.h941 SourceLocation SwitchLoc; variable
985 SourceLocation getSwitchLoc() const { return SwitchLoc; } in getSwitchLoc()
986 void setSwitchLoc(SourceLocation L) { SwitchLoc = L; } in setSwitchLoc()
990 SwitchLoc = SL; in setBody()
1011 SourceLocation getLocStart() const LLVM_READONLY { return SwitchLoc; } in getLocStart()
/external/clang/lib/Sema/
DSemaStmt.cpp579 Sema::ActOnStartOfSwitchStmt(SourceLocation SwitchLoc, Expr *Cond, in ActOnStartOfSwitchStmt() argument
644 PerformContextualImplicitConversion(SwitchLoc, Cond, SwitchDiagnoser); in ActOnStartOfSwitchStmt()
654 CondResult = ActOnFinishFullExpr(Cond, SwitchLoc); in ActOnStartOfSwitchStmt()
699 Sema::ActOnFinishSwitchStmt(SourceLocation SwitchLoc, Stmt *Switch, in ActOnFinishSwitchStmt() argument
706 SS->setBody(BodyStmt, SwitchLoc); in ActOnFinishSwitchStmt()
736 Diag(SwitchLoc, diag::warn_bool_switch_condition) in ActOnFinishSwitchStmt()
DTreeTransform.h1126 StmtResult RebuildSwitchStmtStart(SourceLocation SwitchLoc, in RebuildSwitchStmtStart() argument
1128 return getSema().ActOnStartOfSwitchStmt(SwitchLoc, Cond, in RebuildSwitchStmtStart()
1136 StmtResult RebuildSwitchStmtBody(SourceLocation SwitchLoc, in RebuildSwitchStmtBody() argument
1138 return getSema().ActOnFinishSwitchStmt(SwitchLoc, Switch, Body); in RebuildSwitchStmtBody()
/external/clang/include/clang/Sema/
DSema.h3024 StmtResult ActOnStartOfSwitchStmt(SourceLocation SwitchLoc,
3027 StmtResult ActOnFinishSwitchStmt(SourceLocation SwitchLoc,