Home
last modified time | relevance | path

Searched refs:LabelStmt (Results 1 – 25 of 35) sorted by relevance

12

/external/clang/tools/libclang/
DCXCursor.h32 class LabelStmt; variable
211 CXCursor MakeCursorLabelRef(LabelStmt *Label, SourceLocation Loc,
216 std::pair<const LabelStmt *, SourceLocation> getCursorLabelRef(CXCursor C);
DCXCursor.cpp869 CXCursor cxcursor::MakeCursorLabelRef(LabelStmt *Label, SourceLocation Loc, in MakeCursorLabelRef()
878 std::pair<const LabelStmt *, SourceLocation>
881 return std::make_pair(static_cast<const LabelStmt *>(C.data[0]), in getCursorLabelRef()
DCIndex.cpp2808 if (LabelStmt *stmt = LS->getStmt()) { in RunVisitorWorkList()
4169 const LabelStmt *Label = getCursorLabelRef(C).first; in clang_getCursorSpelling()
4228 if (const LabelStmt *Label = dyn_cast_or_null<LabelStmt>(S)) in clang_getCursorSpelling()
4288 if (const LabelStmt *Label = dyn_cast_or_null<LabelStmt>(S)) { in clang_Cursor_getSpellingNameRange()
5207 std::pair<const LabelStmt *, SourceLocation> P = getCursorLabelRef(C); in clang_getCursorLocation()
5502 if (LabelStmt *labelS = label->getStmt()) in clang_getCursorReferenced()
/external/clang/unittests/AST/
DSourceLocationTest.cpp61 class LabelDeclRangeVerifier : public RangeVerifier<LabelStmt> {
63 SourceRange getRange(const LabelStmt &Node) override { in getRange()
74 TEST(LabelStmt, Range) { in TEST() argument
75 RangeVerifier<LabelStmt> Verifier; in TEST()
/external/clang/lib/CodeGen/
DCodeGenPGO.cpp80 LabelStmt = 1, enumerator
162 return PGOHash::LabelStmt; in getHashType()
305 void VisitLabelStmt(const LabelStmt *S) { in VisitLabelStmt()
DCGStmt.cpp307 case Stmt::LabelStmtClass: EmitLabelStmt(cast<LabelStmt>(*S)); break; in EmitSimpleStmt()
351 while (const LabelStmt *LS = dyn_cast<LabelStmt>(LastStmt)) { in EmitCompoundStmtWithoutScope()
513 void CodeGenFunction::EmitLabelStmt(const LabelStmt &S) { in EmitLabelStmt()
DCoverageMappingGen.cpp642 void VisitLabelStmt(const LabelStmt *S) { in VisitLabelStmt()
DCodeGenFunction.h63 class LabelStmt; variable
2266 void EmitLabelStmt(const LabelStmt &S);
/external/clang/lib/ARCMigrate/
DTransProtectedScope.cpp89 while (Parent && (isa<SwitchCase>(Parent) || isa<LabelStmt>(Parent))) in getCaseParent()
DTransforms.cpp295 while (LabelStmt *Label = dyn_cast<LabelStmt>(S)) in mark()
/external/clang/lib/AST/
DStmt.cpp141 if (const LabelStmt *LS = dyn_cast<LabelStmt>(S)) in stripLabelLikeStatements()
309 const char *LabelStmt::getName() const { in getName()
DASTDumper.cpp500 void VisitLabelStmt(const LabelStmt *Node);
1792 void ASTDumper::VisitLabelStmt(const LabelStmt *Node) { in VisitLabelStmt()
DASTImporter.cpp190 Stmt *VisitLabelStmt(LabelStmt *S);
2628 LabelStmt *Label = cast_or_null<LabelStmt>(Importer.Import(D->getStmt())); in VisitLabelDecl()
4945 Stmt *ASTNodeImporter::VisitLabelStmt(LabelStmt *S) { in VisitLabelStmt()
4954 return new (Importer.getToContext()) LabelStmt(ToIdentLoc, ToLabelDecl, in VisitLabelStmt()
DStmtProfile.cpp108 void StmtProfiler::VisitLabelStmt(const LabelStmt *S) { in VisitLabelStmt()
DExpr.cpp2145 if (const LabelStmt *Label = dyn_cast<LabelStmt>(CS->body_back())) in isUnusedResultAWarning()
/external/clang/lib/Sema/
DJumpDiagnostics.cpp560 else if (LabelStmt *LS = dyn_cast<LabelStmt>(SubStmt)) in BuildScopeInformation()
DSemaStmt.cpp187 if (const LabelStmt *Label = dyn_cast_or_null<LabelStmt>(S)) in DiagnoseUnusedExprResult()
471 LabelStmt *LS = new (Context) LabelStmt(IdentLoc, TheDecl, SubStmt); in ActOnLabelStmt()
DAnalysisBasedWarnings.cpp968 const LabelStmt *L = dyn_cast_or_null<LabelStmt>(P->getLabel()); in checkFallThroughIntoBlock()
/external/clang/include/clang/AST/
DStmt.h789 class LabelStmt : public Stmt {
795 LabelStmt(SourceLocation IL, LabelDecl *D, Stmt *substmt) in LabelStmt() function
797 static_assert(sizeof(LabelStmt) == in LabelStmt()
803 explicit LabelStmt(EmptyShell Empty) : Stmt(LabelStmtClass, Empty) { } in LabelStmt() function
DDecl.h41 class LabelStmt; variable
426 LabelStmt *TheStmt;
435 LabelStmt *S, SourceLocation StartL) in LabelDecl()
449 LabelStmt *getStmt() const { return TheStmt; } in getStmt()
450 void setStmt(LabelStmt *T) { TheStmt = T; } in setStmt()
/external/clang/include/clang/Basic/
DStmtNodes.td14 def LabelStmt : Stmt;
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DCoreEngine.h470 return cast<LabelStmt>((*I)->getLabel())->getDecl(); in getLabel()
/external/v8/tools/gcmole/
Dgcmole.cc911 VISIT(LabelStmt); in VisitStmt()
937 IGNORE_STMT(LabelStmt);
/external/clang/lib/Analysis/
DCFG.cpp462 CFGBlock *VisitLabelStmt(LabelStmt *L);
1551 return VisitLabelStmt(cast<LabelStmt>(S)); in Visit()
2319 CFGBlock *CFGBuilder::VisitLabelStmt(LabelStmt *L) { in VisitLabelStmt()
4367 if (LabelStmt *L = dyn_cast<LabelStmt>(Label)) in print_block()
/external/clang/include/clang/ASTMatchers/
DASTMatchersInternal.h1011 InjectedClassNameType, LabelStmt, AddrLabelExpr, MemberExpr,

12