Searched refs:SwitchLoc (Results 1 – 5 of 5) sorted by relevance
| /openbsd-src/gnu/llvm/clang/lib/Parse/ |
| H A D | ParseStmt.cpp | 1660 SourceLocation SwitchLoc = ConsumeToken(); // eat the 'switch'. in ParseSwitchStatement() local 1692 if (ParseParenExprOrCondition(&InitStmt, Cond, SwitchLoc, in ParseSwitchStatement() 1697 SwitchLoc, LParen, InitStmt.get(), Cond, RParen); in ParseSwitchStatement() 1738 return Actions.ActOnFinishSwitchStmt(SwitchLoc, Switch.get(), Body.get()); in ParseSwitchStatement()
|
| /openbsd-src/gnu/llvm/clang/lib/Sema/ |
| H A D | SemaStmt.cpp | 1026 ExprResult Sema::CheckSwitchCondition(SourceLocation SwitchLoc, Expr *Cond) { in CheckSwitchCondition() argument 1075 PerformContextualImplicitConversion(SwitchLoc, Cond, SwitchDiagnoser); in CheckSwitchCondition() 1090 StmtResult Sema::ActOnStartOfSwitchStmt(SourceLocation SwitchLoc, in ActOnStartOfSwitchStmt() argument 1108 Diag(SwitchLoc, diag::warn_bool_switch_condition) in ActOnStartOfSwitchStmt() 1214 Sema::ActOnFinishSwitchStmt(SourceLocation SwitchLoc, Stmt *Switch, in ActOnFinishSwitchStmt() argument 1224 SS->setBody(BodyStmt, SwitchLoc); in ActOnFinishSwitchStmt()
|
| H A D | TreeTransform.h | 1381 StmtResult RebuildSwitchStmtStart(SourceLocation SwitchLoc, in RebuildSwitchStmtStart() argument 1385 return getSema().ActOnStartOfSwitchStmt(SwitchLoc, LParenLoc, Init, Cond, in RebuildSwitchStmtStart() 1393 StmtResult RebuildSwitchStmtBody(SourceLocation SwitchLoc, in RebuildSwitchStmtBody() argument 1395 return getSema().ActOnFinishSwitchStmt(SwitchLoc, Switch, Body); in RebuildSwitchStmtBody()
|
| /openbsd-src/gnu/llvm/clang/include/clang/AST/ |
| H A D | Stmt.h | 201 SourceLocation SwitchLoc; variable 2331 SourceLocation getSwitchLoc() const { return SwitchStmtBits.SwitchLoc; } in getSwitchLoc() 2332 void setSwitchLoc(SourceLocation L) { SwitchStmtBits.SwitchLoc = L; } in setSwitchLoc()
|
| /openbsd-src/gnu/llvm/clang/include/clang/Sema/ |
| H A D | Sema.h | 5086 StmtResult ActOnStartOfSwitchStmt(SourceLocation SwitchLoc, 5090 StmtResult ActOnFinishSwitchStmt(SourceLocation SwitchLoc, 12843 ExprResult CheckSwitchCondition(SourceLocation SwitchLoc, Expr *Cond);
|