/external/clang/lib/Sema/ |
D | JumpDiagnostics.cpp | 70 SmallVector<LabelDecl*, 4> IndirectJumpTargets; 83 LabelDecl *Target, unsigned TargetScope); 501 LabelDecl *Target = IGS->getConstantTarget(); in VerifyJumps() 582 llvm::DenseMap<unsigned, LabelDecl*> TargetScopes; in VerifyIndirectJumps() 583 for (SmallVectorImpl<LabelDecl*>::iterator in VerifyIndirectJumps() 586 LabelDecl *TheLabel = *I; in VerifyIndirectJumps() 590 LabelDecl *&Target = TargetScopes[LabelScope]; in VerifyIndirectJumps() 603 for (llvm::DenseMap<unsigned,LabelDecl*>::iterator in VerifyIndirectJumps() 606 LabelDecl *TargetLabel = TI->second; in VerifyIndirectJumps() 683 LabelDecl *Target, bool &Diagnosed) { in DiagnoseIndirectJumpStmt() [all …]
|
D | SemaLookup.cpp | 3235 LabelDecl *Sema::LookupOrCreateLabel(IdentifierInfo *II, SourceLocation Loc, in LookupOrCreateLabel() 3242 Res = LabelDecl::Create(Context, CurContext, Loc, II, GnuLabelLoc); in LookupOrCreateLabel() 3245 return cast<LabelDecl>(Res); in LookupOrCreateLabel() 3256 Res = LabelDecl::Create(Context, CurContext, Loc, II); in LookupOrCreateLabel() 3261 return cast<LabelDecl>(Res); in LookupOrCreateLabel()
|
D | SemaTemplateInstantiateDecl.cpp | 216 TemplateDeclInstantiator::VisitLabelDecl(LabelDecl *D) { in VisitLabelDecl() 217 LabelDecl *Inst = LabelDecl::Create(SemaRef.Context, Owner, D->getLocation(), in VisitLabelDecl() 4439 assert(isa<LabelDecl>(D)); in FindInstantiatedDecl() 4445 return cast<LabelDecl>(Inst); in FindInstantiatedDecl()
|
D | SemaDecl.cpp | 1180 if (isa<LabelDecl>(D) && !cast<LabelDecl>(D)->isGnuLocal()) { in PushOnScopeChains() 1393 if (isa<LabelDecl>(D)) in ShouldDiagnoseUnusedDecl() 1450 if (isa<LabelDecl>(D)) { in GenerateFixForUnusedDecl() 1473 else if (isa<LabelDecl>(D)) in DiagnoseUnusedDecl() 1481 static void CheckPoppedLabel(LabelDecl *L, Sema &S) { in CheckPoppedLabel() 1509 if (LabelDecl *LD = dyn_cast<LabelDecl>(D)) in ActOnPopScope()
|
D | TreeTransform.h | 1097 StmtResult RebuildLabelStmt(SourceLocation IdentLoc, LabelDecl *L, in RebuildLabelStmt() 1178 LabelDecl *Label) { in RebuildGotoStmt() 1981 SourceLocation LabelLoc, LabelDecl *Label) { in RebuildAddrLabelExpr() 5489 cast<LabelDecl>(LD), SourceLocation(), in TransformLabelStmt() 5754 cast<LabelDecl>(LD)); in TransformGotoStmt() 7513 cast<LabelDecl>(LD)); in TransformAddrLabelExpr()
|
/external/clang/include/clang/AST/ |
D | Stmt.h | 40 class LabelDecl; variable 782 LabelDecl *TheDecl; 786 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() 1207 LabelDecl *Label; 1211 GotoStmt(LabelDecl *label, SourceLocation GL, SourceLocation LL) in GotoStmt() 1217 LabelDecl *getLabel() const { return Label; } in getLabel() 1218 void setLabel(LabelDecl *D) { Label = D; } in setLabel() 1263 LabelDecl *getConstantTarget(); [all …]
|
D | Decl.h | 305 class LabelDecl : public NamedDecl { 313 LabelDecl(DeclContext *DC, SourceLocation IdentL, IdentifierInfo *II, in LabelDecl() function 318 static LabelDecl *Create(ASTContext &C, DeclContext *DC, 320 static LabelDecl *Create(ASTContext &C, DeclContext *DC, 323 static LabelDecl *CreateDeserialized(ASTContext &C, unsigned ID);
|
D | Expr.h | 3353 LabelDecl *Label; 3355 AddrLabelExpr(SourceLocation AALoc, SourceLocation LLoc, LabelDecl *L, in AddrLabelExpr() 3373 LabelDecl *getLabel() const { return Label; } in getLabel() 3374 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 | 471 const LabelDecl *getLabel() const { in getLabel()
|
/external/clang/lib/Frontend/ |
D | ASTConsumers.cpp | 405 LabelDecl *LD = cast<LabelDecl>(I); in PrintDeclContext()
|
/external/clang/lib/AST/ |
D | Decl.cpp | 3641 void LabelDecl::anchor() { } in anchor() 3643 LabelDecl *LabelDecl::Create(ASTContext &C, DeclContext *DC, in Create() 3645 return new (C, DC) LabelDecl(DC, IdentL, II, nullptr, IdentL); in Create() 3648 LabelDecl *LabelDecl::Create(ASTContext &C, DeclContext *DC, in Create() 3652 return new (C, DC) LabelDecl(DC, IdentL, II, nullptr, GnuLabelL); in Create() 3655 LabelDecl *LabelDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized() 3656 return new (C, ID) LabelDecl(nullptr, SourceLocation(), nullptr, nullptr, in CreateDeserialized()
|
D | DeclPrinter.cpp | 59 void VisitLabelDecl(LabelDecl *D); 646 void DeclPrinter::VisitLabelDecl(LabelDecl *D) { in VisitLabelDecl()
|
D | ASTDumper.cpp | 237 void VisitLabelDecl(const LabelDecl *D); 844 void ASTDumper::VisitLabelDecl(const LabelDecl *D) { in VisitLabelDecl()
|
/external/clang/lib/CodeGen/ |
D | CodeGenFunction.h | 56 class LabelDecl; variable 512 SmallVector<const LabelDecl*, 4> Labels; 527 void addLabel(const LabelDecl *label) { in addLabel() 824 llvm::DenseMap<const LabelDecl*, JumpDest> LabelMap; 1309 JumpDest getJumpDestForLabel(const LabelDecl *S); 1518 llvm::BlockAddress *GetAddrOfLabel(const LabelDecl *L); 1856 void EmitLabel(const LabelDecl *D); // helper for EmitLabelStmt.
|
D | CGStmt.cpp | 355 CodeGenFunction::getJumpDestForLabel(const LabelDecl *D) { in getJumpDestForLabel() 366 void CodeGenFunction::EmitLabel(const LabelDecl *D) { in EmitLabel() 401 for (SmallVectorImpl<const LabelDecl*>::const_iterator in rescopeLabels() 454 if (const LabelDecl *Target = S.getConstantTarget()) { in EmitIndirectGotoStmt()
|
D | CodeGenFunction.cpp | 1266 llvm::BlockAddress *CodeGenFunction::GetAddrOfLabel(const LabelDecl *L) { in GetAddrOfLabel()
|
/external/clang/unittests/AST/ |
D | SourceLocationTest.cpp | 68 TEST(LabelDecl, Range) { in TEST() argument
|
/external/clang/include/clang/Sema/ |
D | ScopeInfo.h | 37 class LabelDecl; variable
|
/external/clang/lib/Parse/ |
D | ParseStmt.cpp | 582 LabelDecl *LD = Actions.LookupOrCreateLabel(IdentTok.getIdentifierInfo(), in ParseLabeledStatement() 1741 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() 819 E->setLabel(ReadDeclAs<LabelDecl>(Record, Idx)); in VisitAddrLabelExpr()
|
D | ASTWriterDecl.cpp | 54 void VisitLabelDecl(LabelDecl *LD); 882 void ASTDeclWriter::VisitLabelDecl(LabelDecl *D) { in VisitLabelDecl()
|
D | ASTReaderDecl.cpp | 231 void VisitLabelDecl(LabelDecl *LD); 1124 void ASTDeclReader::VisitLabelDecl(LabelDecl *D) { in VisitLabelDecl() 2640 D = LabelDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
|
/external/clang/lib/Analysis/ |
D | CFG.cpp | 308 typedef llvm::DenseMap<LabelDecl*, JumpTarget> LabelMapTy; 317 typedef llvm::SmallPtrSet<LabelDecl*, 5> LabelSetTy; 1905 if (isa<LabelDecl>(*DS->decl_begin())) in VisitDeclStmt()
|
/external/clang/tools/libclang/ |
D | CIndex.cpp | 1736 LabelRefVisit(LabelDecl *LD, SourceLocation labelLoc, CXCursor parent) in LabelRefVisit() 1743 const LabelDecl *get() const { in get() 1744 return static_cast<const LabelDecl *>(data[0]); in get() 2378 const LabelDecl *LS = cast<LabelRefVisit>(&LI)->get(); in RunVisitorWorkList() 4624 if (LabelDecl *label = Goto->getLabel()) in clang_getCursorReferenced()
|