Home
last modified time | relevance | path

Searched refs:BreakLoc (Results 1 – 3 of 3) sorted by relevance

/external/clang/include/clang/AST/
DStmt.h1285 SourceLocation BreakLoc; variable
1287 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()
/external/clang/lib/Sema/
DSemaStmt.cpp1681 Sema::ActOnBreakStmt(SourceLocation BreakLoc, Scope *CurScope) { in ActOnBreakStmt() argument
1685 return StmtError(Diag(BreakLoc, diag::err_break_not_in_loop_or_switch)); in ActOnBreakStmt()
1688 return Owned(new (Context) BreakStmt(BreakLoc)); in ActOnBreakStmt()
/external/clang/lib/Parse/
DParseStmt.cpp1582 SourceLocation BreakLoc = ConsumeToken(); // eat the 'break'. in ParseBreakStatement() local
1583 return Actions.ActOnBreakStmt(BreakLoc, getCurScope()); in ParseBreakStatement()