Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/Parse/
H A DParseStmt.cpp1660 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 DSemaStmt.cpp1026 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 DTreeTransform.h1381 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 DStmt.h201 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 DSema.h5086 StmtResult ActOnStartOfSwitchStmt(SourceLocation SwitchLoc,
5090 StmtResult ActOnFinishSwitchStmt(SourceLocation SwitchLoc,
12843 ExprResult CheckSwitchCondition(SourceLocation SwitchLoc, Expr *Cond);