/external/clang/lib/Sema/ |
D | JumpDiagnostics.cpp | 70 SmallVector<LabelDecl*, 4> IndirectJumpTargets; 83 LabelDecl *Target, unsigned TargetScope); 595 LabelDecl *Target = IGS->getConstantTarget(); in VerifyJumps() 676 llvm::DenseMap<unsigned, LabelDecl*> TargetScopes; in VerifyIndirectJumps() 677 for (SmallVectorImpl<LabelDecl*>::iterator in VerifyIndirectJumps() 680 LabelDecl *TheLabel = *I; in VerifyIndirectJumps() 684 LabelDecl *&Target = TargetScopes[LabelScope]; in VerifyIndirectJumps() 697 for (llvm::DenseMap<unsigned,LabelDecl*>::iterator in VerifyIndirectJumps() 700 LabelDecl *TargetLabel = TI->second; in VerifyIndirectJumps() 777 LabelDecl *Target, bool &Diagnosed) { in DiagnoseIndirectJumpStmt() [all …]
|
D | SemaStmtAsm.cpp | 741 LabelDecl *Sema::GetOrCreateMSAsmLabel(StringRef ExternalLabelName, in GetOrCreateMSAsmLabel() 744 LabelDecl* Label = LookupOrCreateLabel(PP.getIdentifierInfo(ExternalLabelName), in GetOrCreateMSAsmLabel()
|
D | SemaLookup.cpp | 3721 LabelDecl *Sema::LookupOrCreateLabel(IdentifierInfo *II, SourceLocation Loc, in LookupOrCreateLabel() 3728 Res = LabelDecl::Create(Context, CurContext, Loc, II, GnuLabelLoc); in LookupOrCreateLabel() 3731 return cast<LabelDecl>(Res); in LookupOrCreateLabel() 3742 Res = LabelDecl::Create(Context, CurContext, Loc, II); in LookupOrCreateLabel() 3747 return cast<LabelDecl>(Res); in LookupOrCreateLabel()
|
D | SemaTemplateInstantiateDecl.cpp | 443 TemplateDeclInstantiator::VisitLabelDecl(LabelDecl *D) { in VisitLabelDecl() 444 LabelDecl *Inst = LabelDecl::Create(SemaRef.Context, Owner, D->getLocation(), in VisitLabelDecl() 4694 assert(isa<LabelDecl>(D)); in FindInstantiatedDecl() 4700 return cast<LabelDecl>(Inst); in FindInstantiatedDecl()
|
/external/clang/include/clang/AST/ |
D | Stmt.h | 41 class LabelDecl; variable 791 LabelDecl *TheDecl; 795 LabelStmt(SourceLocation IL, LabelDecl *D, Stmt *substmt) in LabelStmt() 806 LabelDecl *getDecl() const { return TheDecl; } in getDecl() 807 void setDecl(LabelDecl *D) { TheDecl = D; } in setDecl() 1225 LabelDecl *Label; 1229 GotoStmt(LabelDecl *label, SourceLocation GL, SourceLocation LL) in GotoStmt() 1235 LabelDecl *getLabel() const { return Label; } in getLabel() 1236 void setLabel(LabelDecl *D) { Label = D; } in setLabel() 1283 LabelDecl *getConstantTarget(); [all …]
|
D | Decl.h | 424 class LabelDecl : public NamedDecl { 434 LabelDecl(DeclContext *DC, SourceLocation IdentL, IdentifierInfo *II, in LabelDecl() function 442 static LabelDecl *Create(ASTContext &C, DeclContext *DC, 444 static LabelDecl *Create(ASTContext &C, DeclContext *DC, 447 static LabelDecl *CreateDeserialized(ASTContext &C, unsigned ID);
|
D | Expr.h | 3341 LabelDecl *Label; 3343 AddrLabelExpr(SourceLocation AALoc, SourceLocation LLoc, LabelDecl *L, in AddrLabelExpr() 3361 LabelDecl *getLabel() const { return Label; } in getLabel() 3362 void setLabel(LabelDecl *L) { Label = L; } in setLabel()
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | SVals.h | 477 explicit GotoLabel(LabelDecl *Label) : Loc(GotoLabelKind, Label) {} in GotoLabel() 479 const LabelDecl *getLabel() const { in getLabel() 480 return static_cast<const LabelDecl*>(Data); in getLabel()
|
D | CoreEngine.h | 469 const LabelDecl *getLabel() const { in getLabel()
|
/external/clang/lib/Frontend/ |
D | ASTConsumers.cpp | 412 LabelDecl *LD = cast<LabelDecl>(I); in PrintDeclContext()
|
/external/clang/lib/AST/ |
D | Decl.cpp | 3977 void LabelDecl::anchor() { } in anchor() 3979 LabelDecl *LabelDecl::Create(ASTContext &C, DeclContext *DC, in Create() 3981 return new (C, DC) LabelDecl(DC, IdentL, II, nullptr, IdentL); in Create() 3984 LabelDecl *LabelDecl::Create(ASTContext &C, DeclContext *DC, in Create() 3988 return new (C, DC) LabelDecl(DC, IdentL, II, nullptr, GnuLabelL); in Create() 3991 LabelDecl *LabelDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized() 3992 return new (C, ID) LabelDecl(nullptr, SourceLocation(), nullptr, nullptr, in CreateDeserialized() 3996 void LabelDecl::setMSAsmLabel(StringRef Name) { in setMSAsmLabel()
|
D | ASTImporter.cpp | 144 Decl *VisitLabelDecl(LabelDecl *D); 2605 Decl *ASTNodeImporter::VisitLabelDecl(LabelDecl *D) { in VisitLabelDecl() 2618 LabelDecl *ToLabel = D->isGnuLocal() in VisitLabelDecl() 2619 ? LabelDecl::Create(Importer.getToContext(), in VisitLabelDecl() 2623 : LabelDecl::Create(Importer.getToContext(), in VisitLabelDecl() 4947 LabelDecl *ToLabelDecl = in VisitLabelStmt() 4948 cast_or_null<LabelDecl>(Importer.Import(S->getDecl())); in VisitLabelStmt() 5114 LabelDecl *ToLabel = nullptr; in VisitGotoStmt() 5115 if (LabelDecl *FromLabel = S->getLabel()) { in VisitGotoStmt() 5116 ToLabel = dyn_cast_or_null<LabelDecl>(Importer.Import(FromLabel)); in VisitGotoStmt() [all …]
|
D | DeclPrinter.cpp | 68 void VisitLabelDecl(LabelDecl *D); 712 void DeclPrinter::VisitLabelDecl(LabelDecl *D) { in VisitLabelDecl()
|
D | ASTDumper.cpp | 422 void VisitLabelDecl(const LabelDecl *D); 1070 void ASTDumper::VisitLabelDecl(const LabelDecl *D) { in VisitLabelDecl()
|
D | Stmt.cpp | 891 LabelDecl *IndirectGotoStmt::getConstantTarget() { in getConstantTarget()
|
/external/clang/lib/CodeGen/ |
D | CodeGenFunction.h | 59 class LabelDecl; variable 536 SmallVector<const LabelDecl*, 4> Labels; 551 void addLabel(const LabelDecl *label) { in addLabel() 955 llvm::DenseMap<const LabelDecl*, JumpDest> LabelMap; 1600 JumpDest getJumpDestForLabel(const LabelDecl *S); 1851 llvm::BlockAddress *GetAddrOfLabel(const LabelDecl *L); 2264 void EmitLabel(const LabelDecl *D); // helper for EmitLabelStmt.
|
D | CGStmt.cpp | 452 CodeGenFunction::getJumpDestForLabel(const LabelDecl *D) { in getJumpDestForLabel() 463 void CodeGenFunction::EmitLabel(const LabelDecl *D) { in EmitLabel() 497 for (SmallVectorImpl<const LabelDecl*>::const_iterator in rescopeLabels() 550 if (const LabelDecl *Target = S.getConstantTarget()) { in EmitIndirectGotoStmt()
|
/external/clang/unittests/AST/ |
D | SourceLocationTest.cpp | 68 TEST(LabelDecl, Range) { in TEST() argument
|
/external/clang/include/clang/Sema/ |
D | ScopeInfo.h | 39 class LabelDecl; variable
|
/external/clang/lib/Parse/ |
D | ParseStmt.cpp | 616 LabelDecl *LD = Actions.LookupOrCreateLabel(IdentTok.getIdentifierInfo(), in ParseLabeledStatement() 1821 LabelDecl *LD = Actions.LookupOrCreateLabel(Tok.getIdentifierInfo(), in ParseGotoStatement()
|
D | ParseStmtAsm.cpp | 101 LabelDecl *Label = in LookupInlineAsmLabel()
|
/external/clang/lib/Serialization/ |
D | ASTReaderStmt.cpp | 165 LabelDecl *LD = ReadDeclAs<LabelDecl>(Record, Idx); in VisitLabelStmt() 255 S->setLabel(ReadDeclAs<LabelDecl>(Record, Idx)); in VisitGotoStmt() 865 E->setLabel(ReadDeclAs<LabelDecl>(Record, Idx)); in VisitAddrLabelExpr()
|
D | ASTWriterDecl.cpp | 62 void VisitLabelDecl(LabelDecl *LD); 1067 void ASTDeclWriter::VisitLabelDecl(LabelDecl *D) { in VisitLabelDecl()
|
/external/clang/lib/Analysis/ |
D | CFG.cpp | 385 typedef llvm::DenseMap<LabelDecl*, JumpTarget> LabelMapTy; 394 typedef llvm::SmallPtrSet<LabelDecl*, 5> LabelSetTy; 2039 if (isa<LabelDecl>(*DS->decl_begin())) in VisitDeclStmt()
|
/external/clang/tools/libclang/ |
D | CIndex.cpp | 1813 LabelRefVisit(LabelDecl *LD, SourceLocation labelLoc, CXCursor parent) in LabelRefVisit() 1820 const LabelDecl *get() const { in get() 1821 return static_cast<const LabelDecl *>(data[0]); in get() 2807 const LabelDecl *LS = cast<LabelRefVisit>(&LI)->get(); in RunVisitorWorkList() 5501 if (LabelDecl *label = Goto->getLabel()) in clang_getCursorReferenced()
|