Searched refs:DefaultStmt (Results 1 – 21 of 21) sorted by relevance
558 else if (DefaultStmt *DS = dyn_cast<DefaultStmt>(SubStmt)) in BuildScopeInformation()611 else if (DefaultStmt *DS = dyn_cast<DefaultStmt>(SC)) in VerifyJumps()
455 DefaultStmt *DS = new (Context) DefaultStmt(DefaultLoc, ColonLoc, SubStmt); in ActOnDefaultStmt()808 DefaultStmt *TheDefaultStmt = nullptr; in ActOnFinishSwitchStmt()815 if (DefaultStmt *DS = dyn_cast<DefaultStmt>(SC)) { in ActOnFinishSwitchStmt()
821 Range = cast<DefaultStmt>(Term)->getDefaultLoc(); in DiagUninitUse()
6196 TreeTransform<Derived>::TransformDefaultStmt(DefaultStmt *S) { in TransformDefaultStmt()
313 case Stmt::DefaultStmtClass: EmitDefaultStmt(cast<DefaultStmt>(*S)); break; in EmitSimpleStmt()1263 void CodeGenFunction::EmitDefaultStmt(const DefaultStmt &S) { in EmitDefaultStmt()1431 const DefaultStmt *DefaultCase = nullptr; in FindCaseStatementsForValue()1436 if (const DefaultStmt *DS = dyn_cast<DefaultStmt>(Case)) { in FindCaseStatementsForValue()1545 if (isa<DefaultStmt>(Case)) in EmitSwitchStmt()
88 DefaultStmt, enumerator178 return PGOHash::DefaultStmt; in getHashType()
2282 void EmitDefaultStmt(const DefaultStmt &S);
750 class DefaultStmt : public SwitchCase {753 DefaultStmt(SourceLocation DL, SourceLocation CL, Stmt *substmt) : in DefaultStmt() function757 explicit DefaultStmt(EmptyShell Empty) in DefaultStmt() function783 return cast<DefaultStmt>(this)->getLocEnd(); in getLocEnd()
2028 DEF_TRAVERSE_STMT(DefaultStmt, {})
29 def DefaultStmt : DStmt<SwitchCase>;
915 VISIT(DefaultStmt); in VisitStmt()1083 DECL_VISIT_STMT(DefaultStmt) { in DECL_VISIT_STMT() argument
454 CFGBlock *VisitDefaultStmt(DefaultStmt *D);1530 return VisitDefaultStmt(cast<DefaultStmt>(S)); in Visit()3280 CFGBlock *CFGBuilder::VisitDefaultStmt(DefaultStmt *Terminator) { in VisitDefaultStmt()4379 } else if (isa<DefaultStmt>(Label)) in print_block()
859 return cast<DefaultStmt>(this)->getSubStmt(); in getSubStmt()
104 void StmtProfiler::VisitDefaultStmt(const DefaultStmt *S) { in VisitDefaultStmt()
162 void StmtPrinter::VisitDefaultStmt(DefaultStmt *Node) { in VisitDefaultStmt()
189 Stmt *VisitDefaultStmt(DefaultStmt *S);4935 Stmt *ASTNodeImporter::VisitDefaultStmt(DefaultStmt *S) { in VisitDefaultStmt()4941 return new (Importer.getToContext()) DefaultStmt(ToDefaultLoc, ToColonLoc, in VisitDefaultStmt()
3505 if (isa<DefaultStmt>(SC)) { in EvaluateSwitch()
1585 const internal::VariadicDynCastAllOfMatcher<Stmt, DefaultStmt> defaultStmt;
158 void ASTStmtReader::VisitDefaultStmt(DefaultStmt *S) { in VisitDefaultStmt()2868 S = new (Context) DefaultStmt(Empty); in ReadStmtFromStream()
106 void ASTStmtWriter::VisitDefaultStmt(DefaultStmt *S) { in VisitDefaultStmt()
2674 assert (isa<DefaultStmt>(Label)); in getNodeLabel()