Home
last modified time | relevance | path

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

/external/clang/include/clang/AST/
DStmt.h939 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/
DParseStmt.cpp1215 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/
DSemaStmt.cpp583 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()
DTreeTransform.h1174 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/
DSema.h3320 StmtResult ActOnStartOfSwitchStmt(SourceLocation SwitchLoc,
3323 StmtResult ActOnFinishSwitchStmt(SourceLocation SwitchLoc,