Searched refs:SwitchLoc (Results 1 – 5 of 5) sorted by relevance
/external/clang/include/clang/AST/ |
D | Stmt.h | 939 SourceLocation SwitchLoc; variable 985 SourceLocation getSwitchLoc() const { return SwitchLoc; } in getSwitchLoc() 986 void setSwitchLoc(SourceLocation L) { SwitchLoc = L; } in setSwitchLoc() 990 SwitchLoc = SL; in setBody() 1007 SourceLocation getLocStart() const LLVM_READONLY { return SwitchLoc; } in getLocStart()
|
/external/clang/lib/Parse/ |
D | ParseStmt.cpp | 1215 SourceLocation SwitchLoc = ConsumeToken(); // eat the 'switch'. in ParseSwitchStatement() local 1245 if (ParseParenExprOrCondition(Cond, CondVar, SwitchLoc, false)) in ParseSwitchStatement() 1249 = Actions.ActOnStartOfSwitchStmt(SwitchLoc, Cond.get(), CondVar); in ParseSwitchStatement() 1290 return Actions.ActOnFinishSwitchStmt(SwitchLoc, Switch.get(), Body.get()); in ParseSwitchStatement()
|
/external/clang/lib/Sema/ |
D | SemaStmt.cpp | 583 Sema::ActOnStartOfSwitchStmt(SourceLocation SwitchLoc, Expr *Cond, in ActOnStartOfSwitchStmt() argument 648 PerformContextualImplicitConversion(SwitchLoc, Cond, SwitchDiagnoser); in ActOnStartOfSwitchStmt() 657 CondResult = ActOnFinishFullExpr(Cond, SwitchLoc); in ActOnStartOfSwitchStmt() 729 Sema::ActOnFinishSwitchStmt(SourceLocation SwitchLoc, Stmt *Switch, in ActOnFinishSwitchStmt() argument 738 SS->setBody(BodyStmt, SwitchLoc); in ActOnFinishSwitchStmt() 767 Diag(SwitchLoc, diag::warn_bool_switch_condition) in ActOnFinishSwitchStmt()
|
D | TreeTransform.h | 1174 StmtResult RebuildSwitchStmtStart(SourceLocation SwitchLoc, in RebuildSwitchStmtStart() argument 1176 return getSema().ActOnStartOfSwitchStmt(SwitchLoc, Cond, in RebuildSwitchStmtStart() 1184 StmtResult RebuildSwitchStmtBody(SourceLocation SwitchLoc, in RebuildSwitchStmtBody() argument 1186 return getSema().ActOnFinishSwitchStmt(SwitchLoc, Switch, Body); in RebuildSwitchStmtBody()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 3320 StmtResult ActOnStartOfSwitchStmt(SourceLocation SwitchLoc, 3323 StmtResult ActOnFinishSwitchStmt(SourceLocation SwitchLoc,
|