Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/Parse/
H A DParseStmt.cpp1502 SourceLocation SwitchLoc = ConsumeToken(); // eat the 'switch'. in ParseSwitchStatement() local
1534 if (ParseParenExprOrCondition(&InitStmt, Cond, SwitchLoc, in ParseSwitchStatement()
1539 SwitchLoc, LParen, InitStmt.get(), Cond, RParen); in ParseSwitchStatement()
1580 return Actions.ActOnFinishSwitchStmt(SwitchLoc, Switch.get(), Body.get()); in ParseSwitchStatement()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaStmt.cpp989 ExprResult Sema::CheckSwitchCondition(SourceLocation SwitchLoc, Expr *Cond) { in CheckSwitchCondition() argument
1038 PerformContextualImplicitConversion(SwitchLoc, Cond, SwitchDiagnoser); in CheckSwitchCondition()
1053 StmtResult Sema::ActOnStartOfSwitchStmt(SourceLocation SwitchLoc, in ActOnStartOfSwitchStmt() argument
1071 Diag(SwitchLoc, diag::warn_bool_switch_condition) in ActOnStartOfSwitchStmt()
1177 Sema::ActOnFinishSwitchStmt(SourceLocation SwitchLoc, Stmt *Switch, in ActOnFinishSwitchStmt() argument
1187 SS->setBody(BodyStmt, SwitchLoc); in ActOnFinishSwitchStmt()
H A DTreeTransform.h1335 StmtResult RebuildSwitchStmtStart(SourceLocation SwitchLoc, in RebuildSwitchStmtStart() argument
1339 return getSema().ActOnStartOfSwitchStmt(SwitchLoc, LParenLoc, Init, Cond, in RebuildSwitchStmtStart()
1347 StmtResult RebuildSwitchStmtBody(SourceLocation SwitchLoc, in RebuildSwitchStmtBody() argument
1349 return getSema().ActOnFinishSwitchStmt(SwitchLoc, Switch, Body); in RebuildSwitchStmtBody()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DStmt.h196 SourceLocation SwitchLoc; variable
2258 SourceLocation getSwitchLoc() const { return SwitchStmtBits.SwitchLoc; } in getSwitchLoc()
2259 void setSwitchLoc(SourceLocation L) { SwitchStmtBits.SwitchLoc = L; } in setSwitchLoc()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DSema.h4670 StmtResult ActOnStartOfSwitchStmt(SourceLocation SwitchLoc,
4674 StmtResult ActOnFinishSwitchStmt(SourceLocation SwitchLoc,
11848 ExprResult CheckSwitchCondition(SourceLocation SwitchLoc, Expr *Cond);