Home
last modified time | relevance | path

Searched refs:LabelStmt (Results 1 – 25 of 36) 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.cpp841 CXCursor cxcursor::MakeCursorLabelRef(LabelStmt *Label, SourceLocation Loc, in MakeCursorLabelRef()
850 std::pair<const LabelStmt *, SourceLocation>
853 return std::make_pair(static_cast<const LabelStmt *>(C.data[0]), in getCursorLabelRef()
DCIndex.cpp2698 if (LabelStmt *stmt = LS->getStmt()) { in RunVisitorWorkList()
3768 const LabelStmt *Label = getCursorLabelRef(C).first; in clang_getCursorSpelling()
3827 if (const LabelStmt *Label = dyn_cast_or_null<LabelStmt>(S)) in clang_getCursorSpelling()
3887 if (const LabelStmt *Label = dyn_cast_or_null<LabelStmt>(S)) { in clang_Cursor_getSpellingNameRange()
4842 std::pair<const LabelStmt *, SourceLocation> P = getCursorLabelRef(C); in clang_getCursorLocation()
5137 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/lldb/include/lldb/Core/
DClangForward.h76 class LabelStmt; variable
/external/clang/lib/CodeGen/
DCodeGenPGO.cpp75 LabelStmt = 1, enumerator
157 return PGOHash::LabelStmt; in getHashType()
300 void VisitLabelStmt(const LabelStmt *S) { in VisitLabelStmt()
DCGStmt.cpp277 case Stmt::LabelStmtClass: EmitLabelStmt(cast<LabelStmt>(*S)); break; in EmitSimpleStmt()
321 while (const LabelStmt *LS = dyn_cast<LabelStmt>(LastStmt)) { in EmitCompoundStmtWithoutScope()
483 void CodeGenFunction::EmitLabelStmt(const LabelStmt &S) { in EmitLabelStmt()
DCoverageMappingGen.cpp601 void VisitLabelStmt(const LabelStmt *S) { in VisitLabelStmt()
DCodeGenFunction.h62 class LabelStmt; variable
2137 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.cpp486 void VisitLabelStmt(const LabelStmt *Node);
1680 void ASTDumper::VisitLabelStmt(const LabelStmt *Node) { in VisitLabelStmt()
DStmtProfile.cpp107 void StmtProfiler::VisitLabelStmt(const LabelStmt *S) { in VisitLabelStmt()
/external/clang/lib/Sema/
DJumpDiagnostics.cpp395 else if (LabelStmt *LS = dyn_cast<LabelStmt>(SubStmt)) in BuildScopeInformation()
DSemaStmt.cpp186 if (const LabelStmt *Label = dyn_cast_or_null<LabelStmt>(S)) in DiagnoseUnusedExprResult()
470 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/Basic/
DStmtNodes.td14 def LabelStmt : Stmt;
/external/clang/include/clang/AST/
DStmt.h777 class LabelStmt : public Stmt {
783 LabelStmt(SourceLocation IL, LabelDecl *D, Stmt *substmt) in LabelStmt() function
785 static_assert(sizeof(LabelStmt) == in LabelStmt()
791 explicit LabelStmt(EmptyShell Empty) : Stmt(LabelStmtClass, Empty) { } in LabelStmt() function
DDecl.h39 class LabelStmt; variable
356 LabelStmt *TheStmt;
365 LabelStmt *S, SourceLocation StartL) in LabelDecl()
379 LabelStmt *getStmt() const { return TheStmt; } in getStmt()
380 void setStmt(LabelStmt *T) { TheStmt = T; } in setStmt()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DCoreEngine.h467 return cast<LabelStmt>((*I)->getLabel())->getDecl(); in getLabel()
/external/v8/tools/gcmole/
Dgcmole.cc879 VISIT(LabelStmt); in VisitStmt()
905 IGNORE_STMT(LabelStmt);
/external/clang/lib/Analysis/
DCFG.cpp462 CFGBlock *VisitLabelStmt(LabelStmt *L);
1551 return VisitLabelStmt(cast<LabelStmt>(S)); in Visit()
2305 CFGBlock *CFGBuilder::VisitLabelStmt(LabelStmt *L) { in VisitLabelStmt()
4335 if (LabelStmt *L = dyn_cast<LabelStmt>(Label)) in print_block()
/external/clang/include/clang/ASTMatchers/
DASTMatchersInternal.h935 InjectedClassNameType, LabelStmt, MemberExpr, QualType,
DASTMatchers.h1358 const internal::VariadicDynCastAllOfMatcher<Stmt, LabelStmt> labelStmt;

12