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.cpp1725 SourceLocation SwitchLoc = ConsumeToken(); // eat the 'switch'. in ParseSwitchStatement() local
1757 if (ParseParenExprOrCondition(&InitStmt, Cond, SwitchLoc, in ParseSwitchStatement()
1762 SwitchLoc, LParen, InitStmt.get(), Cond, RParen); in ParseSwitchStatement()
1803 return Actions.ActOnFinishSwitchStmt(SwitchLoc, Switch.get(), Body.get()); in ParseSwitchStatement()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp1057 ExprResult Sema::CheckSwitchCondition(SourceLocation SwitchLoc, Expr *Cond) { in CheckSwitchCondition() argument
1106 PerformContextualImplicitConversion(SwitchLoc, Cond, SwitchDiagnoser); in CheckSwitchCondition()
1121 StmtResult Sema::ActOnStartOfSwitchStmt(SourceLocation SwitchLoc, in ActOnStartOfSwitchStmt() argument
1139 Diag(SwitchLoc, diag::warn_bool_switch_condition) in ActOnStartOfSwitchStmt()
1245 Sema::ActOnFinishSwitchStmt(SourceLocation SwitchLoc, Stmt *Switch, in ActOnFinishSwitchStmt() argument
1255 SS->setBody(BodyStmt, SwitchLoc); in ActOnFinishSwitchStmt()
1376 Diag(SwitchLoc, diag::warn_switch_default); in ActOnFinishSwitchStmt()
H A DTreeTransform.h1427 StmtResult RebuildSwitchStmtStart(SourceLocation SwitchLoc, in RebuildSwitchStmtStart() argument
1431 return getSema().ActOnStartOfSwitchStmt(SwitchLoc, LParenLoc, Init, Cond, in RebuildSwitchStmtStart()
1439 StmtResult RebuildSwitchStmtBody(SourceLocation SwitchLoc, in RebuildSwitchStmtBody() argument
1441 return getSema().ActOnFinishSwitchStmt(SwitchLoc, Switch, Body); in RebuildSwitchStmtBody()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DStmt.h229 SourceLocation SwitchLoc;
2534 SourceLocation getSwitchLoc() const { return SwitchStmtBits.SwitchLoc; }
2535 void setSwitchLoc(SourceLocation L) { SwitchStmtBits.SwitchLoc = L; }
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h10722 ExprResult CheckSwitchCondition(SourceLocation SwitchLoc, Expr *Cond);
10724 StmtResult ActOnStartOfSwitchStmt(SourceLocation SwitchLoc,
10728 StmtResult ActOnFinishSwitchStmt(SourceLocation SwitchLoc, Stmt *Switch,