Lines Matching refs:IndirectGotoStmt
69 SmallVector<IndirectGotoStmt*, 4> IndirectJumps;
82 void DiagnoseIndirectJump(IndirectGotoStmt *IG, unsigned IGScope,
295 if (cast<IndirectGotoStmt>(S)->getConstantTarget()) {
302 IndirectJumps.push_back(cast<IndirectGotoStmt>(S));
540 if (IndirectGotoStmt *IGS = dyn_cast<IndirectGotoStmt>(Jump)) {
600 typedef std::pair<unsigned, IndirectGotoStmt*> JumpScope;
603 llvm::DenseMap<unsigned, IndirectGotoStmt*> JumpScopesMap;
604 for (SmallVectorImpl<IndirectGotoStmt*>::iterator
606 IndirectGotoStmt *IG = *I;
610 IndirectGotoStmt *&Entry = JumpScopesMap[IGScope];
614 for (llvm::DenseMap<unsigned, IndirectGotoStmt*>::iterator
722 static void DiagnoseIndirectJumpStmt(Sema &S, IndirectGotoStmt *Jump,
741 void JumpScopeChecker::DiagnoseIndirectJump(IndirectGotoStmt *Jump,
795 if (isa<GotoStmt>(From) || isa<IndirectGotoStmt>(From)) {