Home
last modified time | relevance | path

Searched refs:DefaultStmt (Results 1 – 25 of 43) sorted by relevance

12

/external/clang/lib/Sema/
DJumpDiagnostics.cpp558 else if (DefaultStmt *DS = dyn_cast<DefaultStmt>(SubStmt)) in BuildScopeInformation()
611 else if (DefaultStmt *DS = dyn_cast<DefaultStmt>(SC)) in VerifyJumps()
DSemaStmt.cpp455 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()
DAnalysisBasedWarnings.cpp821 Range = cast<DefaultStmt>(Term)->getDefaultLoc(); in DiagUninitUse()
/external/llvm-project/clang-tools-extra/clang-tidy/hicpp/
DMultiwayPathsCoveredCheck.cpp58 if (isa<DefaultStmt>(CurrentCase)) in countCaseLabels()
/external/llvm-project/clang-tools-extra/clangd/refactor/tweaks/
DPopulateSwitch.cpp154 if (isa<DefaultStmt>(CaseList)) in REGISTER_TWEAK()
/external/llvm-project/clang/lib/Analysis/
DProgramPoint.cpp170 assert(isa<DefaultStmt>(Label)); in printJson()
DCFG.cpp569 CFGBlock *VisitDefaultStmt(DefaultStmt *D);
2232 return VisitDefaultStmt(cast<DefaultStmt>(S)); in Visit()
4254 CFGBlock *CFGBuilder::VisitDefaultStmt(DefaultStmt *Terminator) { in VisitDefaultStmt()
5651 } else if (isa<DefaultStmt>(Label)) in print_block()
/external/clang/lib/CodeGen/
DCGStmt.cpp313 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()
DCodeGenPGO.cpp88 DefaultStmt, enumerator
178 return PGOHash::DefaultStmt; in getHashType()
/external/llvm-project/clang/lib/CodeGen/
DCGStmt.cpp404 EmitDefaultStmt(cast<DefaultStmt>(*S), Attrs); in EmitSimpleStmt()
1459 void CodeGenFunction::EmitDefaultStmt(const DefaultStmt &S, in EmitDefaultStmt()
1668 const DefaultStmt *DefaultCase = nullptr; in FindCaseStatementsForValue()
1673 if (const DefaultStmt *DS = dyn_cast<DefaultStmt>(Case)) { in FindCaseStatementsForValue()
1839 if (isa<DefaultStmt>(Case)) in EmitSwitchStmt()
DCodeGenPGO.cpp100 DefaultStmt, enumerator
277 return PGOHash::DefaultStmt; in DEFINE_NESTABLE_TRAVERSAL()
/external/clang/include/clang/Basic/
DStmtNodes.td29 def DefaultStmt : DStmt<SwitchCase>;
/external/llvm-project/clang/lib/Sema/
DJumpDiagnostics.cpp664 else if (DefaultStmt *DS = dyn_cast<DefaultStmt>(SC)) in VerifyJumps()
DSemaStmt.cpp529 DefaultStmt *DS = new (Context) DefaultStmt(DefaultLoc, ColonLoc, SubStmt); in ActOnDefaultStmt()
951 DefaultStmt *TheDefaultStmt = nullptr; in ActOnFinishSwitchStmt()
958 if (DefaultStmt *DS = dyn_cast<DefaultStmt>(SC)) { in ActOnFinishSwitchStmt()
/external/clang/include/clang/AST/
DStmt.h750 class DefaultStmt : public SwitchCase {
753 DefaultStmt(SourceLocation DL, SourceLocation CL, Stmt *substmt) : in DefaultStmt() function
757 explicit DefaultStmt(EmptyShell Empty) in DefaultStmt() function
783 return cast<DefaultStmt>(this)->getLocEnd(); in getLocEnd()
/external/llvm-project/clang/include/clang/AST/
DStmt.h1722 class DefaultStmt : public SwitchCase {
1726 DefaultStmt(SourceLocation DL, SourceLocation CL, Stmt *substmt) in DefaultStmt() function
1730 explicit DefaultStmt(EmptyShell Empty) in DefaultStmt() function
1760 else if (const auto *DS = dyn_cast<DefaultStmt>(this)) in getEndLoc()
1768 else if (auto *DS = dyn_cast<DefaultStmt>(this)) in getSubStmt()
/external/llvm-project/clang/include/clang/Basic/
DStmtNodes.td25 def DefaultStmt : StmtNode<SwitchCase>;
/external/clang/lib/Analysis/
DCFG.cpp454 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()
/external/llvm-project/clang/lib/ASTMatchers/
DASTMatchersInternal.cpp883 const internal::VariadicDynCastAllOfMatcher<Stmt, DefaultStmt> defaultStmt;
/external/clang/lib/AST/
DStmt.cpp859 return cast<DefaultStmt>(this)->getSubStmt(); in getSubStmt()
DStmtProfile.cpp104 void StmtProfiler::VisitDefaultStmt(const DefaultStmt *S) { in VisitDefaultStmt()
/external/llvm-project/clang/lib/Tooling/Syntax/
DBuildTree.cpp1418 bool WalkUpFromDefaultStmt(DefaultStmt *S) { in WalkUpFromDefaultStmt()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h1585 const internal::VariadicDynCastAllOfMatcher<Stmt, DefaultStmt> defaultStmt;
/external/llvm-project/clang/lib/AST/
DStmtProfile.cpp249 void StmtProfiler::VisitDefaultStmt(const DefaultStmt *S) { in VisitDefaultStmt()
/external/llvm-project/clang/lib/Serialization/
DASTReaderStmt.cpp181 void ASTStmtReader::VisitDefaultStmt(DefaultStmt *S) { in VisitDefaultStmt()
2688 S = new (Context) DefaultStmt(Empty); in ReadStmtFromStream()

12