Home
last modified time | relevance | path

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

/external/clang/include/clang/AST/
DStmt.h958 SourceLocation SwitchLoc; variable
1007 SourceLocation getSwitchLoc() const { return SwitchLoc; } in getSwitchLoc()
1008 void setSwitchLoc(SourceLocation L) { SwitchLoc = L; } in setSwitchLoc()
1012 SwitchLoc = SL; in setBody()
1029 SourceLocation getLocStart() const LLVM_READONLY { return SwitchLoc; } in getLocStart()
/external/clang/lib/Parse/
DParseStmt.cpp1257 SourceLocation SwitchLoc = ConsumeToken(); // eat the 'switch'. in ParseSwitchStatement() local
1287 if (ParseParenExprOrCondition(&InitStmt, Cond, SwitchLoc, in ParseSwitchStatement()
1292 Actions.ActOnStartOfSwitchStmt(SwitchLoc, InitStmt.get(), Cond); in ParseSwitchStatement()
1333 return Actions.ActOnFinishSwitchStmt(SwitchLoc, Switch.get(), Body.get()); in ParseSwitchStatement()
/external/llvm-project/clang/lib/Parse/
DParseStmt.cpp1499 SourceLocation SwitchLoc = ConsumeToken(); // eat the 'switch'. in ParseSwitchStatement() local
1531 if (ParseParenExprOrCondition(&InitStmt, Cond, SwitchLoc, in ParseSwitchStatement()
1536 SwitchLoc, LParen, InitStmt.get(), Cond, RParen); in ParseSwitchStatement()
1577 return Actions.ActOnFinishSwitchStmt(SwitchLoc, Switch.get(), Body.get()); in ParseSwitchStatement()
/external/clang/lib/Sema/
DSemaStmt.cpp609 ExprResult Sema::CheckSwitchCondition(SourceLocation SwitchLoc, Expr *Cond) { in CheckSwitchCondition() argument
658 PerformContextualImplicitConversion(SwitchLoc, Cond, SwitchDiagnoser); in CheckSwitchCondition()
666 StmtResult Sema::ActOnStartOfSwitchStmt(SourceLocation SwitchLoc, in ActOnStartOfSwitchStmt() argument
739 Sema::ActOnFinishSwitchStmt(SourceLocation SwitchLoc, Stmt *Switch, in ActOnFinishSwitchStmt() argument
748 SS->setBody(BodyStmt, SwitchLoc); in ActOnFinishSwitchStmt()
777 Diag(SwitchLoc, diag::warn_bool_switch_condition) in ActOnFinishSwitchStmt()
DTreeTransform.h1187 StmtResult RebuildSwitchStmtStart(SourceLocation SwitchLoc, Stmt *Init, in RebuildSwitchStmtStart() argument
1189 return getSema().ActOnStartOfSwitchStmt(SwitchLoc, Init, Cond); in RebuildSwitchStmtStart()
1196 StmtResult RebuildSwitchStmtBody(SourceLocation SwitchLoc, in RebuildSwitchStmtBody() argument
1198 return getSema().ActOnFinishSwitchStmt(SwitchLoc, Switch, Body); in RebuildSwitchStmtBody()
/external/llvm-project/clang/lib/Sema/
DSemaStmt.cpp709 ExprResult Sema::CheckSwitchCondition(SourceLocation SwitchLoc, Expr *Cond) { in CheckSwitchCondition() argument
758 PerformContextualImplicitConversion(SwitchLoc, Cond, SwitchDiagnoser); in CheckSwitchCondition()
773 StmtResult Sema::ActOnStartOfSwitchStmt(SourceLocation SwitchLoc, in ActOnStartOfSwitchStmt() argument
791 Diag(SwitchLoc, diag::warn_bool_switch_condition) in ActOnStartOfSwitchStmt()
897 Sema::ActOnFinishSwitchStmt(SourceLocation SwitchLoc, Stmt *Switch, in ActOnFinishSwitchStmt() argument
907 SS->setBody(BodyStmt, SwitchLoc); in ActOnFinishSwitchStmt()
DTreeTransform.h1334 StmtResult RebuildSwitchStmtStart(SourceLocation SwitchLoc, in RebuildSwitchStmtStart() argument
1338 return getSema().ActOnStartOfSwitchStmt(SwitchLoc, LParenLoc, Init, Cond, in RebuildSwitchStmtStart()
1346 StmtResult RebuildSwitchStmtBody(SourceLocation SwitchLoc, in RebuildSwitchStmtBody() argument
1348 return getSema().ActOnFinishSwitchStmt(SwitchLoc, Switch, Body); in RebuildSwitchStmtBody()
/external/llvm-project/clang/include/clang/AST/
DStmt.h196 SourceLocation SwitchLoc; variable
2254 SourceLocation getSwitchLoc() const { return SwitchStmtBits.SwitchLoc; } in getSwitchLoc()
2255 void setSwitchLoc(SourceLocation L) { SwitchStmtBits.SwitchLoc = L; } in setSwitchLoc()
/external/clang/include/clang/Sema/
DSema.h3407 StmtResult ActOnStartOfSwitchStmt(SourceLocation SwitchLoc,
3410 StmtResult ActOnFinishSwitchStmt(SourceLocation SwitchLoc,
9023 ExprResult CheckSwitchCondition(SourceLocation SwitchLoc, Expr *Cond);
/external/llvm-project/clang/include/clang/Sema/
DSema.h4529 StmtResult ActOnStartOfSwitchStmt(SourceLocation SwitchLoc,
4533 StmtResult ActOnFinishSwitchStmt(SourceLocation SwitchLoc,
11642 ExprResult CheckSwitchCondition(SourceLocation SwitchLoc, Expr *Cond);