Searched refs:SwitchLoc (Results 1 – 5 of 5) sorted by relevance
/external/clang/lib/Parse/ |
D | ParseStmt.cpp | 1191 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/ |
D | Stmt.h | 941 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/ |
D | SemaStmt.cpp | 579 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()
|
D | TreeTransform.h | 1126 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/ |
D | Sema.h | 3024 StmtResult ActOnStartOfSwitchStmt(SourceLocation SwitchLoc, 3027 StmtResult ActOnFinishSwitchStmt(SourceLocation SwitchLoc,
|