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,
675 void JumpScopeChecker::VerifyJumps() {
753 void JumpScopeChecker::VerifyIndirectJumps() {
888 void JumpScopeChecker::NoteJumpIntoScopes(ArrayRef<unsigned> ToScopes) {
897 void JumpScopeChecker::DiagnoseIndirectOrAsmJump(Stmt *Jump, unsigned JumpScope,
938 void JumpScopeChecker::CheckJump(Stmt *From, Stmt *To, SourceLocation DiagLoc,
1015 void JumpScopeChecker::CheckGotoStmt(GotoStmt *GS) {
1024 void JumpScopeChecker::VerifyMustTailStmts() {
1035 const Attr *JumpScopeChecker::GetMustTailAttr(AttributedStmt *AS) {
1043 (void)JumpScopeChecker(Body, *this);