Searched refs:BreakLoc (Results 1 – 3 of 3) sorted by relevance
1290 SourceLocation BreakLoc; variable1292 BreakStmt(SourceLocation BL) : Stmt(BreakStmtClass), BreakLoc(BL) {} in BreakStmt()1297 SourceLocation getBreakLoc() const { return BreakLoc; } in getBreakLoc()1298 void setBreakLoc(SourceLocation L) { BreakLoc = L; } in setBreakLoc()1300 SourceRange getSourceRange() const LLVM_READONLY { return SourceRange(BreakLoc); } in getSourceRange()
1547 SourceLocation BreakLoc = ConsumeToken(); // eat the 'break'. in ParseBreakStatement() local1548 return Actions.ActOnBreakStmt(BreakLoc, getCurScope()); in ParseBreakStatement()
2099 Sema::ActOnBreakStmt(SourceLocation BreakLoc, Scope *CurScope) { in ActOnBreakStmt() argument2103 return StmtError(Diag(BreakLoc, diag::err_break_not_in_loop_or_switch)); in ActOnBreakStmt()2106 return Owned(new (Context) BreakStmt(BreakLoc)); in ActOnBreakStmt()