Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/
H A DParseStmt.cpp1300 SourceLocation SwitchLoc = ConsumeToken(); // eat the 'switch'. in ParseSwitchStatement() local
1330 if (ParseParenExprOrCondition(&InitStmt, Cond, SwitchLoc, in ParseSwitchStatement()
1335 Actions.ActOnStartOfSwitchStmt(SwitchLoc, InitStmt.get(), Cond); in ParseSwitchStatement()
1376 return Actions.ActOnFinishSwitchStmt(SwitchLoc, Switch.get(), Body.get()); in ParseSwitchStatement()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaStmt.cpp640 ExprResult Sema::CheckSwitchCondition(SourceLocation SwitchLoc, Expr *Cond) { in CheckSwitchCondition() argument
689 PerformContextualImplicitConversion(SwitchLoc, Cond, SwitchDiagnoser); in CheckSwitchCondition()
704 StmtResult Sema::ActOnStartOfSwitchStmt(SourceLocation SwitchLoc, in ActOnStartOfSwitchStmt() argument
720 Diag(SwitchLoc, diag::warn_bool_switch_condition) in ActOnStartOfSwitchStmt()
825 Sema::ActOnFinishSwitchStmt(SourceLocation SwitchLoc, Stmt *Switch, in ActOnFinishSwitchStmt() argument
835 SS->setBody(BodyStmt, SwitchLoc); in ActOnFinishSwitchStmt()
H A DTreeTransform.h1267 StmtResult RebuildSwitchStmtStart(SourceLocation SwitchLoc, Stmt *Init, in RebuildSwitchStmtStart() argument
1269 return getSema().ActOnStartOfSwitchStmt(SwitchLoc, Init, Cond); in RebuildSwitchStmtStart()
1276 StmtResult RebuildSwitchStmtBody(SourceLocation SwitchLoc, in RebuildSwitchStmtBody() argument
1278 return getSema().ActOnFinishSwitchStmt(SwitchLoc, Switch, Body); in RebuildSwitchStmtBody()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DStmt.h192 SourceLocation SwitchLoc; in alignas() local
2019 SourceLocation getSwitchLoc() const { return SwitchStmtBits.SwitchLoc; } in getSwitchLoc()
2020 void setSwitchLoc(SourceLocation L) { SwitchStmtBits.SwitchLoc = L; } in setSwitchLoc()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DSema.h3769 StmtResult ActOnStartOfSwitchStmt(SourceLocation SwitchLoc,
3772 StmtResult ActOnFinishSwitchStmt(SourceLocation SwitchLoc,
9938 ExprResult CheckSwitchCondition(SourceLocation SwitchLoc, Expr *Cond);