/external/clang/lib/Sema/ |
D | JumpDiagnostics.cpp | 70 SmallVector<LabelDecl*, 4> IndirectJumpTargets; 83 LabelDecl *Target, unsigned TargetScope); 541 LabelDecl *Target = IGS->getConstantTarget(); in VerifyJumps() 622 llvm::DenseMap<unsigned, LabelDecl*> TargetScopes; in VerifyIndirectJumps() 623 for (SmallVectorImpl<LabelDecl*>::iterator in VerifyIndirectJumps() 626 LabelDecl *TheLabel = *I; in VerifyIndirectJumps() 630 LabelDecl *&Target = TargetScopes[LabelScope]; in VerifyIndirectJumps() 643 for (llvm::DenseMap<unsigned,LabelDecl*>::iterator in VerifyIndirectJumps() 646 LabelDecl *TargetLabel = TI->second; in VerifyIndirectJumps() 723 LabelDecl *Target, bool &Diagnosed) { in DiagnoseIndirectJumpStmt() [all …]
|
D | SemaStmtAsm.cpp | 737 LabelDecl *Sema::GetOrCreateMSAsmLabel(StringRef ExternalLabelName, in GetOrCreateMSAsmLabel() 740 LabelDecl* Label = LookupOrCreateLabel(PP.getIdentifierInfo(ExternalLabelName), in GetOrCreateMSAsmLabel()
|
D | SemaLookup.cpp | 3635 LabelDecl *Sema::LookupOrCreateLabel(IdentifierInfo *II, SourceLocation Loc, in LookupOrCreateLabel() 3642 Res = LabelDecl::Create(Context, CurContext, Loc, II, GnuLabelLoc); in LookupOrCreateLabel() 3645 return cast<LabelDecl>(Res); in LookupOrCreateLabel() 3656 Res = LabelDecl::Create(Context, CurContext, Loc, II); in LookupOrCreateLabel() 3661 return cast<LabelDecl>(Res); in LookupOrCreateLabel()
|
D | SemaTemplateInstantiateDecl.cpp | 329 TemplateDeclInstantiator::VisitLabelDecl(LabelDecl *D) { in VisitLabelDecl() 330 LabelDecl *Inst = LabelDecl::Create(SemaRef.Context, Owner, D->getLocation(), in VisitLabelDecl() 4484 assert(isa<LabelDecl>(D)); in FindInstantiatedDecl() 4490 return cast<LabelDecl>(Inst); in FindInstantiatedDecl()
|
/external/clang/include/clang/AST/ |
D | Stmt.h | 41 class LabelDecl; variable 779 LabelDecl *TheDecl; 783 LabelStmt(SourceLocation IL, LabelDecl *D, Stmt *substmt) in LabelStmt() 794 LabelDecl *getDecl() const { return TheDecl; } in getDecl() 795 void setDecl(LabelDecl *D) { TheDecl = D; } in setDecl() 1203 LabelDecl *Label; 1207 GotoStmt(LabelDecl *label, SourceLocation GL, SourceLocation LL) in GotoStmt() 1213 LabelDecl *getLabel() const { return Label; } in getLabel() 1214 void setLabel(LabelDecl *D) { Label = D; } in setLabel() 1261 LabelDecl *getConstantTarget(); [all …]
|
D | Decl.h | 354 class LabelDecl : public NamedDecl { 364 LabelDecl(DeclContext *DC, SourceLocation IdentL, IdentifierInfo *II, in LabelDecl() function 372 static LabelDecl *Create(ASTContext &C, DeclContext *DC, 374 static LabelDecl *Create(ASTContext &C, DeclContext *DC, 377 static LabelDecl *CreateDeserialized(ASTContext &C, unsigned ID);
|
D | Expr.h | 3407 LabelDecl *Label; 3409 AddrLabelExpr(SourceLocation AALoc, SourceLocation LLoc, LabelDecl *L, in AddrLabelExpr() 3427 LabelDecl *getLabel() const { return Label; } in getLabel() 3428 void setLabel(LabelDecl *L) { Label = L; } in setLabel()
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | SVals.h | 472 explicit GotoLabel(LabelDecl *Label) : Loc(GotoLabelKind, Label) {} in GotoLabel() 474 const LabelDecl *getLabel() const { in getLabel() 475 return static_cast<const LabelDecl*>(Data); in getLabel()
|
D | CoreEngine.h | 466 const LabelDecl *getLabel() const { in getLabel()
|
/external/clang/lib/Frontend/ |
D | ASTConsumers.cpp | 414 LabelDecl *LD = cast<LabelDecl>(I); in PrintDeclContext()
|
/external/clang/lib/AST/ |
D | Decl.cpp | 3804 void LabelDecl::anchor() { } in anchor() 3806 LabelDecl *LabelDecl::Create(ASTContext &C, DeclContext *DC, in Create() 3808 return new (C, DC) LabelDecl(DC, IdentL, II, nullptr, IdentL); in Create() 3811 LabelDecl *LabelDecl::Create(ASTContext &C, DeclContext *DC, in Create() 3815 return new (C, DC) LabelDecl(DC, IdentL, II, nullptr, GnuLabelL); in Create() 3818 LabelDecl *LabelDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized() 3819 return new (C, ID) LabelDecl(nullptr, SourceLocation(), nullptr, nullptr, in CreateDeserialized() 3823 void LabelDecl::setMSAsmLabel(StringRef Name) { in setMSAsmLabel()
|
D | DeclPrinter.cpp | 68 void VisitLabelDecl(LabelDecl *D); 704 void DeclPrinter::VisitLabelDecl(LabelDecl *D) { in VisitLabelDecl()
|
D | ASTDumper.cpp | 417 void VisitLabelDecl(const LabelDecl *D); 1039 void ASTDumper::VisitLabelDecl(const LabelDecl *D) { in VisitLabelDecl()
|
D | Stmt.cpp | 880 LabelDecl *IndirectGotoStmt::getConstantTarget() { in getConstantTarget()
|
D | ASTImporter.cpp | 4657 LabelDecl *ToLabelDecl = in VisitLabelStmt() 4658 cast_or_null<LabelDecl>(Importer.Import(S->getDecl())); in VisitLabelStmt() 4816 LabelDecl *ToLabel = nullptr; in VisitGotoStmt() 4817 if (LabelDecl *FromLabel = S->getLabel()) { in VisitGotoStmt() 4818 ToLabel = dyn_cast_or_null<LabelDecl>(Importer.Import(FromLabel)); in VisitGotoStmt()
|
/external/clang/lib/CodeGen/ |
D | CodeGenFunction.h | 58 class LabelDecl; variable 516 SmallVector<const LabelDecl*, 4> Labels; 531 void addLabel(const LabelDecl *label) { in addLabel() 930 llvm::DenseMap<const LabelDecl*, JumpDest> LabelMap; 1497 JumpDest getJumpDestForLabel(const LabelDecl *S); 1744 llvm::BlockAddress *GetAddrOfLabel(const LabelDecl *L); 2135 void EmitLabel(const LabelDecl *D); // helper for EmitLabelStmt.
|
D | CGStmt.cpp | 422 CodeGenFunction::getJumpDestForLabel(const LabelDecl *D) { in getJumpDestForLabel() 433 void CodeGenFunction::EmitLabel(const LabelDecl *D) { in EmitLabel() 467 for (SmallVectorImpl<const LabelDecl*>::const_iterator in rescopeLabels() 520 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 | 38 class LabelDecl; variable
|
/external/clang/lib/Parse/ |
D | ParseStmtAsm.cpp | 100 LabelDecl *Label = in LookupInlineAsmLabel()
|
D | ParseStmt.cpp | 603 LabelDecl *LD = Actions.LookupOrCreateLabel(IdentTok.getIdentifierInfo(), in ParseLabeledStatement() 1780 LabelDecl *LD = Actions.LookupOrCreateLabel(Tok.getIdentifierInfo(), in ParseGotoStatement()
|
/external/clang/lib/Serialization/ |
D | ASTReaderStmt.cpp | 164 LabelDecl *LD = ReadDeclAs<LabelDecl>(Record, Idx); in VisitLabelStmt() 251 S->setLabel(ReadDeclAs<LabelDecl>(Record, Idx)); in VisitGotoStmt() 860 E->setLabel(ReadDeclAs<LabelDecl>(Record, Idx)); in VisitAddrLabelExpr()
|
D | ASTWriterDecl.cpp | 54 void VisitLabelDecl(LabelDecl *LD); 1042 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; 2038 if (isa<LabelDecl>(*DS->decl_begin())) in VisitDeclStmt()
|
/external/clang/tools/libclang/ |
D | CIndex.cpp | 1794 LabelRefVisit(LabelDecl *LD, SourceLocation labelLoc, CXCursor parent) in LabelRefVisit() 1801 const LabelDecl *get() const { in get() 1802 return static_cast<const LabelDecl *>(data[0]); in get() 2697 const LabelDecl *LS = cast<LabelRefVisit>(&LI)->get(); in RunVisitorWorkList() 5136 if (LabelDecl *label = Goto->getLabel()) in clang_getCursorReferenced()
|