Home
last modified time | relevance | path

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

/external/clang/include/clang/AST/
DStmt.h914 SourceLocation SwitchLoc; variable
961 SourceLocation getSwitchLoc() const { return SwitchLoc; } in getSwitchLoc()
962 void setSwitchLoc(SourceLocation L) { SwitchLoc = L; } in setSwitchLoc()
966 SwitchLoc = SL; in setBody()
988 return SourceRange(SwitchLoc, SubExprs[BODY]->getLocEnd()); in getSourceRange()
/external/clang/lib/Sema/
DSemaStmt.cpp505 Sema::ActOnStartOfSwitchStmt(SourceLocation SwitchLoc, Expr *Cond, in ActOnStartOfSwitchStmt() argument
523 = ConvertToIntegralOrEnumerationType(SwitchLoc, Cond, in ActOnStartOfSwitchStmt()
542 CheckImplicitConversions(Cond, SwitchLoc); in ActOnStartOfSwitchStmt()
565 Sema::ActOnFinishSwitchStmt(SourceLocation SwitchLoc, Stmt *Switch, in ActOnFinishSwitchStmt() argument
571 SS->setBody(BodyStmt, SwitchLoc); in ActOnFinishSwitchStmt()
601 Diag(SwitchLoc, diag::warn_bool_switch_condition) in ActOnFinishSwitchStmt()
DTreeTransform.h1075 StmtResult RebuildSwitchStmtStart(SourceLocation SwitchLoc, in RebuildSwitchStmtStart() argument
1077 return getSema().ActOnStartOfSwitchStmt(SwitchLoc, Cond, in RebuildSwitchStmtStart()
1085 StmtResult RebuildSwitchStmtBody(SourceLocation SwitchLoc, in RebuildSwitchStmtBody() argument
1087 return getSema().ActOnFinishSwitchStmt(SwitchLoc, Switch, Body); in RebuildSwitchStmtBody()
/external/clang/lib/Parse/
DParseStmt.cpp1042 SourceLocation SwitchLoc = ConsumeToken(); // eat the 'switch'. in ParseSwitchStatement() local
1072 if (ParseParenExprOrCondition(Cond, CondVar, SwitchLoc, false)) in ParseSwitchStatement()
1076 = Actions.ActOnStartOfSwitchStmt(SwitchLoc, Cond.get(), CondVar); in ParseSwitchStatement()
1121 return Actions.ActOnFinishSwitchStmt(SwitchLoc, Switch.get(), Body.get()); in ParseSwitchStatement()
/external/clang/include/clang/Sema/
DSema.h2284 StmtResult ActOnStartOfSwitchStmt(SourceLocation SwitchLoc,
2287 StmtResult ActOnFinishSwitchStmt(SourceLocation SwitchLoc,