Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseStmt.cpp1624 SourceLocation SwitchLoc = ConsumeToken(); // eat the 'switch'. in ParseSwitchStatement() local
1656 if (ParseParenExprOrCondition(&InitStmt, Cond, SwitchLoc, in ParseSwitchStatement()
1661 SwitchLoc, LParen, InitStmt.get(), Cond, RParen); in ParseSwitchStatement()
1702 return Actions.ActOnFinishSwitchStmt(SwitchLoc, Switch.get(), Body.get()); in ParseSwitchStatement()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp1118 ExprResult Sema::CheckSwitchCondition(SourceLocation SwitchLoc, Expr *Cond) { in CheckSwitchCondition() argument
1167 PerformContextualImplicitConversion(SwitchLoc, Cond, SwitchDiagnoser); in CheckSwitchCondition()
1182 StmtResult Sema::ActOnStartOfSwitchStmt(SourceLocation SwitchLoc, in ActOnStartOfSwitchStmt() argument
1200 Diag(SwitchLoc, diag::warn_bool_switch_condition) in ActOnStartOfSwitchStmt()
1306 Sema::ActOnFinishSwitchStmt(SourceLocation SwitchLoc, Stmt *Switch, in ActOnFinishSwitchStmt() argument
1326 SS->setBody(BodyStmt, SwitchLoc); in ActOnFinishSwitchStmt()
1447 Diag(SwitchLoc, diag::warn_switch_default); in ActOnFinishSwitchStmt()
H A DTreeTransform.h1421 StmtResult RebuildSwitchStmtStart(SourceLocation SwitchLoc, in RebuildSwitchStmtStart() argument
1425 return getSema().ActOnStartOfSwitchStmt(SwitchLoc, LParenLoc, Init, Cond, in RebuildSwitchStmtStart()
1433 StmtResult RebuildSwitchStmtBody(SourceLocation SwitchLoc, in RebuildSwitchStmtBody() argument
1435 return getSema().ActOnFinishSwitchStmt(SwitchLoc, Switch, Body); in RebuildSwitchStmtBody()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DStmt.h231 SourceLocation SwitchLoc;
2647 SourceLocation getSwitchLoc() const { return SwitchStmtBits.SwitchLoc; }
2648 void setSwitchLoc(SourceLocation L) { SwitchStmtBits.SwitchLoc = L; }
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h10937 ExprResult CheckSwitchCondition(SourceLocation SwitchLoc, Expr *Cond);
10939 StmtResult ActOnStartOfSwitchStmt(SourceLocation SwitchLoc,
10943 StmtResult ActOnFinishSwitchStmt(SourceLocation SwitchLoc, Stmt *Switch,