Searched defs:SwitchLoc (Results 1 - 4 of 4) sorted by relevance

/external/clang/lib/Parse/
H A DParseStmt.cpp1191 SourceLocation SwitchLoc = ConsumeToken(); // eat the 'switch'. local
1221 if (ParseParenExprOrCondition(Cond, CondVar, SwitchLoc, false))
1225 = Actions.ActOnStartOfSwitchStmt(SwitchLoc, Cond.get(), CondVar);
1266 return Actions.ActOnFinishSwitchStmt(SwitchLoc, Switch.get(), Body.get());
/external/clang/include/clang/AST/
H A DStmt.h941 SourceLocation SwitchLoc; member in class:clang::SwitchStmt
985 SourceLocation getSwitchLoc() const { return SwitchLoc; }
986 void setSwitchLoc(SourceLocation L) { SwitchLoc = L; }
990 SwitchLoc = SL;
1011 SourceLocation getLocStart() const LLVM_READONLY { return SwitchLoc; }
/external/clang/lib/Sema/
H A DSemaStmt.cpp579 Sema::ActOnStartOfSwitchStmt(SourceLocation SwitchLoc, Expr *Cond, argument
644 PerformContextualImplicitConversion(SwitchLoc, Cond, SwitchDiagnoser);
654 CondResult = ActOnFinishFullExpr(Cond, SwitchLoc);
699 Sema::ActOnFinishSwitchStmt(SourceLocation SwitchLoc, Stmt *Switch, argument
706 SS->setBody(BodyStmt, SwitchLoc);
736 Diag(SwitchLoc, diag::warn_bool_switch_condition)
H A DTreeTransform.h1126 StmtResult RebuildSwitchStmtStart(SourceLocation SwitchLoc, argument
1128 return getSema().ActOnStartOfSwitchStmt(SwitchLoc, Cond,
1136 StmtResult RebuildSwitchStmtBody(SourceLocation SwitchLoc, argument
1138 return getSema().ActOnFinishSwitchStmt(SwitchLoc, Switch, Body);

Completed in 144 milliseconds