Searched refs:BreakLoc (Results 1 – 3 of 3) sorted by relevance
1285 SourceLocation BreakLoc; variable1287 BreakStmt(SourceLocation BL) : Stmt(BreakStmtClass), BreakLoc(BL) {} in BreakStmt()1292 SourceLocation getBreakLoc() const { return BreakLoc; } in getBreakLoc()1293 void setBreakLoc(SourceLocation L) { BreakLoc = L; } in setBreakLoc()1295 SourceRange getSourceRange() const LLVM_READONLY { return SourceRange(BreakLoc); } in getSourceRange()
1681 Sema::ActOnBreakStmt(SourceLocation BreakLoc, Scope *CurScope) { in ActOnBreakStmt() argument1685 return StmtError(Diag(BreakLoc, diag::err_break_not_in_loop_or_switch)); in ActOnBreakStmt()1688 return Owned(new (Context) BreakStmt(BreakLoc)); in ActOnBreakStmt()
1582 SourceLocation BreakLoc = ConsumeToken(); // eat the 'break'. in ParseBreakStatement() local1583 return Actions.ActOnBreakStmt(BreakLoc, getCurScope()); in ParseBreakStatement()