| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/hicpp/ |
| H A D | MultiwayPathsCoveredCheck.cpp | 58 if (isa<DefaultStmt>(CurrentCase)) in countCaseLabels()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/ |
| H A D | PopulateSwitch.cpp | 146 if (isa<DefaultStmt>(CaseList)) in REGISTER_TWEAK()
|
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | ProgramPoint.cpp | 170 assert(isa<DefaultStmt>(Label)); in printJson()
|
| H A D | CFG.cpp | 570 CFGBlock *VisitDefaultStmt(DefaultStmt *D); 2238 return VisitDefaultStmt(cast<DefaultStmt>(S)); in Visit() 4472 CFGBlock *CFGBuilder::VisitDefaultStmt(DefaultStmt *Terminator) { in VisitDefaultStmt() 5877 } else if (isa<DefaultStmt>(Label)) in print_block()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGStmt.cpp | 459 EmitDefaultStmt(cast<DefaultStmt>(*S), Attrs); in EmitSimpleStmt() 1607 void CodeGenFunction::EmitDefaultStmt(const DefaultStmt &S, in EmitDefaultStmt() 1816 const DefaultStmt *DefaultCase = nullptr; in FindCaseStatementsForValue() 1821 if (const DefaultStmt *DS = dyn_cast<DefaultStmt>(Case)) { in FindCaseStatementsForValue() 1987 if (isa<DefaultStmt>(Case)) in EmitSwitchStmt()
|
| H A D | CodeGenPGO.cpp | 100 DefaultStmt, enumerator 292 return PGOHash::DefaultStmt; in DEFINE_NESTABLE_TRAVERSAL()
|
| H A D | CoverageMappingGen.cpp | 1328 HasDefaultCase = HasDefaultCase || isa<DefaultStmt>(Case); in VisitSwitchStmt()
|
| H A D | CodeGenFunction.h | 3252 void EmitDefaultStmt(const DefaultStmt &S, ArrayRef<const Attr *> Attrs);
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | JumpDiagnostics.cpp | 687 else if (DefaultStmt *DS = dyn_cast<DefaultStmt>(SC)) in VerifyJumps()
|
| H A D | SemaStmt.cpp | 547 DefaultStmt *DS = new (Context) DefaultStmt(DefaultLoc, ColonLoc, SubStmt); in ActOnDefaultStmt() 1268 DefaultStmt *TheDefaultStmt = nullptr; in ActOnFinishSwitchStmt() 1275 if (DefaultStmt *DS = dyn_cast<DefaultStmt>(SC)) { in ActOnFinishSwitchStmt()
|
| H A D | AnalysisBasedWarnings.cpp | 956 Range = cast<DefaultStmt>(Term)->getDefaultLoc(); in DiagUninitUse()
|
| H A D | TreeTransform.h | 7382 StmtResult TreeTransform<Derived>::TransformDefaultStmt(DefaultStmt *S) { in TransformDefaultStmt()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | SimplifyBooleanExprCheck.cpp | 483 } else if (isa<LabelStmt, CaseStmt, DefaultStmt>(*First)) { in VisitCompoundStmt() 491 : cast<DefaultStmt>(*First)->getSubStmt(); in VisitCompoundStmt()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | Stmt.h | 1755 class DefaultStmt : public SwitchCase { 1759 DefaultStmt(SourceLocation DL, SourceLocation CL, Stmt *substmt) in DefaultStmt() function 1763 explicit DefaultStmt(EmptyShell Empty) in DefaultStmt() function 1793 else if (const auto *DS = dyn_cast<DefaultStmt>(this)) in getEndLoc() 1801 else if (auto *DS = dyn_cast<DefaultStmt>(this)) in getSubStmt()
|
| H A D | RecursiveASTVisitor.h | 2392 DEF_TRAVERSE_STMT(DefaultStmt, {})
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | StmtNodes.td | 25 def DefaultStmt : StmtNode<SwitchCase>;
|
| /llvm-project-15.0.7/clang/lib/ASTMatchers/ |
| H A D | ASTMatchersInternal.cpp | 910 const internal::VariadicDynCastAllOfMatcher<Stmt, DefaultStmt> defaultStmt;
|
| /llvm-project-15.0.7/clang/lib/Tooling/Syntax/ |
| H A D | BuildTree.cpp | 1453 bool WalkUpFromDefaultStmt(DefaultStmt *S) { in WalkUpFromDefaultStmt()
|
| /llvm-project-15.0.7/clang/lib/Serialization/ |
| H A D | ASTReaderStmt.cpp | 185 void ASTStmtReader::VisitDefaultStmt(DefaultStmt *S) { in VisitDefaultStmt() 2787 S = new (Context) DefaultStmt(Empty); in ReadStmtFromStream()
|
| H A D | ASTWriterStmt.cpp | 113 void ASTStmtWriter::VisitDefaultStmt(DefaultStmt *S) { in VisitDefaultStmt()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | StmtProfile.cpp | 253 void StmtProfiler::VisitDefaultStmt(const DefaultStmt *S) { in VisitDefaultStmt()
|
| H A D | StmtPrinter.cpp | 282 void StmtPrinter::VisitDefaultStmt(DefaultStmt *Node) { in VisitDefaultStmt()
|
| H A D | ASTImporter.cpp | 584 ExpectedStmt VisitDefaultStmt(DefaultStmt *S); 6396 ExpectedStmt ASTNodeImporter::VisitDefaultStmt(DefaultStmt *S) { in VisitDefaultStmt() 6405 return new (Importer.getToContext()) DefaultStmt( in VisitDefaultStmt()
|
| H A D | ExprConstant.cpp | 4999 if (isa<DefaultStmt>(SC)) { in EvaluateSwitch()
|
| /llvm-project-15.0.7/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 2294 extern const internal::VariadicDynCastAllOfMatcher<Stmt, DefaultStmt>
|