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

/external/clang/lib/Parse/
H A DParseStmt.cpp1257 SourceLocation SwitchLoc = ConsumeToken(); // eat the 'switch'. local
1287 if (ParseParenExprOrCondition(&InitStmt, Cond, SwitchLoc,
1292 Actions.ActOnStartOfSwitchStmt(SwitchLoc, InitStmt.get(), Cond);
1333 return Actions.ActOnFinishSwitchStmt(SwitchLoc, Switch.get(), Body.get());
/external/clang/include/clang/AST/
H A DStmt.h958 SourceLocation SwitchLoc; member in class:clang::SwitchStmt
1007 SourceLocation getSwitchLoc() const { return SwitchLoc; }
1008 void setSwitchLoc(SourceLocation L) { SwitchLoc = L; }
1012 SwitchLoc = SL;
1029 SourceLocation getLocStart() const LLVM_READONLY { return SwitchLoc; }
/external/clang/lib/Sema/
H A DSemaStmt.cpp609 ExprResult Sema::CheckSwitchCondition(SourceLocation SwitchLoc, Expr *Cond) { argument
658 PerformContextualImplicitConversion(SwitchLoc, Cond, SwitchDiagnoser);
666 StmtResult Sema::ActOnStartOfSwitchStmt(SourceLocation SwitchLoc, argument
739 Sema::ActOnFinishSwitchStmt(SourceLocation SwitchLoc, Stmt *Switch, argument
748 SS->setBody(BodyStmt, SwitchLoc);
777 Diag(SwitchLoc, diag::warn_bool_switch_condition)
H A DTreeTransform.h1187 StmtResult RebuildSwitchStmtStart(SourceLocation SwitchLoc, Stmt *Init, argument
1189 return getSema().ActOnStartOfSwitchStmt(SwitchLoc, Init, Cond);
1196 StmtResult RebuildSwitchStmtBody(SourceLocation SwitchLoc, argument
1198 return getSema().ActOnFinishSwitchStmt(SwitchLoc, Switch, Body);
/external/clang/include/clang/Sema/
H A DSema.h3407 StmtResult ActOnStartOfSwitchStmt(SourceLocation SwitchLoc,
3410 StmtResult ActOnFinishSwitchStmt(SourceLocation SwitchLoc,
9023 ExprResult CheckSwitchCondition(SourceLocation SwitchLoc, Expr *Cond);

Completed in 242 milliseconds