Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/Parse/
H A DParseStmt.cpp1710 SourceLocation SwitchLoc = ConsumeToken(); // eat the 'switch'. in ParseSwitchStatement() local
1742 if (ParseParenExprOrCondition(&InitStmt, Cond, SwitchLoc, in ParseSwitchStatement()
1747 SwitchLoc, LParen, InitStmt.get(), Cond, RParen); in ParseSwitchStatement()
1788 return Actions.ActOnFinishSwitchStmt(SwitchLoc, Switch.get(), Body.get()); in ParseSwitchStatement()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp1034 ExprResult Sema::CheckSwitchCondition(SourceLocation SwitchLoc, Expr *Cond) { in CheckSwitchCondition() argument
1083 PerformContextualImplicitConversion(SwitchLoc, Cond, SwitchDiagnoser); in CheckSwitchCondition()
1098 StmtResult Sema::ActOnStartOfSwitchStmt(SourceLocation SwitchLoc, in ActOnStartOfSwitchStmt() argument
1116 Diag(SwitchLoc, diag::warn_bool_switch_condition) in ActOnStartOfSwitchStmt()
1222 Sema::ActOnFinishSwitchStmt(SourceLocation SwitchLoc, Stmt *Switch, in ActOnFinishSwitchStmt() argument
1232 SS->setBody(BodyStmt, SwitchLoc); in ActOnFinishSwitchStmt()
1353 Diag(SwitchLoc, diag::warn_switch_default); in ActOnFinishSwitchStmt()
H A DTreeTransform.h1406 StmtResult RebuildSwitchStmtStart(SourceLocation SwitchLoc, in RebuildSwitchStmtStart() argument
1410 return getSema().ActOnStartOfSwitchStmt(SwitchLoc, LParenLoc, Init, Cond, in RebuildSwitchStmtStart()
1418 StmtResult RebuildSwitchStmtBody(SourceLocation SwitchLoc, in RebuildSwitchStmtBody() argument
1420 return getSema().ActOnFinishSwitchStmt(SwitchLoc, Switch, Body); in RebuildSwitchStmtBody()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DStmt.h229 SourceLocation SwitchLoc; in alignas() local
2527 SourceLocation getSwitchLoc() const { return SwitchStmtBits.SwitchLoc; } in getSwitchLoc()
2528 void setSwitchLoc(SourceLocation L) { SwitchStmtBits.SwitchLoc = L; } in setSwitchLoc()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h5212 StmtResult ActOnStartOfSwitchStmt(SourceLocation SwitchLoc,
5216 StmtResult ActOnFinishSwitchStmt(SourceLocation SwitchLoc,
13255 ExprResult CheckSwitchCondition(SourceLocation SwitchLoc, Expr *Cond);