Lines Matching defs:JumpScopeChecker
9 // This file implements the JumpScopeChecker class, which is used to diagnose
28 /// JumpScopeChecker - This object is used by Sema to diagnose invalid jumps
38 class JumpScopeChecker {
80 JumpScopeChecker(Stmt *Body, Sema &S);
106 JumpScopeChecker::JumpScopeChecker(Stmt *Body, Sema &s)
124 unsigned JumpScopeChecker::GetDeepestCommonScope(unsigned A, unsigned B) {
233 void JumpScopeChecker::BuildScopeInformation(Decl *D, unsigned &ParentScope) {
250 void JumpScopeChecker::BuildScopeInformation(VarDecl *D,
292 void JumpScopeChecker::BuildScopeInformation(CompoundLiteralExpr *CLE,
304 void JumpScopeChecker::BuildScopeInformation(Stmt *S,
665 void JumpScopeChecker::VerifyJumps() {
743 void JumpScopeChecker::VerifyIndirectJumps() {
879 void JumpScopeChecker::NoteJumpIntoScopes(ArrayRef<unsigned> ToScopes) {
888 void JumpScopeChecker::DiagnoseIndirectOrAsmJump(Stmt *Jump, unsigned JumpScope,
929 void JumpScopeChecker::CheckJump(Stmt *From, Stmt *To, SourceLocation DiagLoc,
1006 void JumpScopeChecker::CheckGotoStmt(GotoStmt *GS) {
1015 void JumpScopeChecker::VerifyMustTailStmts() {
1026 const Attr *JumpScopeChecker::GetMustTailAttr(AttributedStmt *AS) {
1034 (void)JumpScopeChecker(Body, *this);