/external/clang/include/clang/AST/ |
D | Stmt.h | 958 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/ |
D | ParseStmt.cpp | 1257 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/ |
D | ParseStmt.cpp | 1499 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/ |
D | SemaStmt.cpp | 609 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()
|
D | TreeTransform.h | 1187 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/ |
D | SemaStmt.cpp | 709 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()
|
D | TreeTransform.h | 1334 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/ |
D | Stmt.h | 196 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/ |
D | Sema.h | 3407 StmtResult ActOnStartOfSwitchStmt(SourceLocation SwitchLoc, 3410 StmtResult ActOnFinishSwitchStmt(SourceLocation SwitchLoc, 9023 ExprResult CheckSwitchCondition(SourceLocation SwitchLoc, Expr *Cond);
|
/external/llvm-project/clang/include/clang/Sema/ |
D | Sema.h | 4529 StmtResult ActOnStartOfSwitchStmt(SourceLocation SwitchLoc, 4533 StmtResult ActOnFinishSwitchStmt(SourceLocation SwitchLoc, 11642 ExprResult CheckSwitchCondition(SourceLocation SwitchLoc, Expr *Cond);
|