/external/clang/lib/Sema/ |
D | JumpDiagnostics.cpp | 66 SmallVector<LabelDecl*, 4> IndirectJumpTargets; 79 LabelDecl *Target, unsigned TargetScope); 488 LabelDecl *Target = IGS->getConstantTarget(); in VerifyJumps() 562 llvm::DenseMap<unsigned, LabelDecl*> TargetScopes; in VerifyIndirectJumps() 563 for (SmallVectorImpl<LabelDecl*>::iterator in VerifyIndirectJumps() 566 LabelDecl *TheLabel = *I; in VerifyIndirectJumps() 570 LabelDecl *&Target = TargetScopes[LabelScope]; in VerifyIndirectJumps() 583 for (llvm::DenseMap<unsigned,LabelDecl*>::iterator in VerifyIndirectJumps() 586 LabelDecl *TargetLabel = TI->second; in VerifyIndirectJumps() 663 LabelDecl *Target, bool &Diagnosed) { in DiagnoseIndirectJumpStmt() [all …]
|
D | SemaLookup.cpp | 3105 LabelDecl *Sema::LookupOrCreateLabel(IdentifierInfo *II, SourceLocation Loc, in LookupOrCreateLabel() 3112 Res = LabelDecl::Create(Context, CurContext, Loc, II, GnuLabelLoc); in LookupOrCreateLabel() 3115 return cast<LabelDecl>(Res); in LookupOrCreateLabel() 3126 Res = LabelDecl::Create(Context, CurContext, Loc, II); in LookupOrCreateLabel() 3131 return cast<LabelDecl>(Res); in LookupOrCreateLabel()
|
D | SemaTemplateInstantiateDecl.cpp | 119 TemplateDeclInstantiator::VisitLabelDecl(LabelDecl *D) { in VisitLabelDecl() 120 LabelDecl *Inst = LabelDecl::Create(SemaRef.Context, Owner, D->getLocation(), in VisitLabelDecl() 3406 assert(isa<LabelDecl>(D)); in FindInstantiatedDecl() 3412 return cast<LabelDecl>(Inst); in FindInstantiatedDecl()
|
D | SemaDecl.cpp | 1072 if (isa<LabelDecl>(D) && !cast<LabelDecl>(D)->isGnuLocal()) { in PushOnScopeChains() 1252 if (isa<LabelDecl>(D)) in ShouldDiagnoseUnusedDecl() 1306 if (isa<LabelDecl>(D)) { in GenerateFixForUnusedDecl() 1329 else if (isa<LabelDecl>(D)) in DiagnoseUnusedDecl() 1337 static void CheckPoppedLabel(LabelDecl *L, Sema &S) { in CheckPoppedLabel() 1365 if (LabelDecl *LD = dyn_cast<LabelDecl>(D)) in ActOnPopScope()
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | SVals.h | 410 explicit GotoLabel(LabelDecl *Label) : Loc(GotoLabelKind, Label) {} in GotoLabel() 412 const LabelDecl *getLabel() const { in getLabel() 413 return static_cast<const LabelDecl*>(Data); in getLabel()
|
D | CoreEngine.h | 467 const LabelDecl *getLabel() const { in getLabel()
|
/external/clang/include/clang/AST/ |
D | Stmt.h | 40 class LabelDecl; variable 763 LabelDecl *TheDecl; 767 LabelStmt(SourceLocation IL, LabelDecl *D, Stmt *substmt) in LabelStmt() 775 LabelDecl *getDecl() const { return TheDecl; } in getDecl() 776 void setDecl(LabelDecl *D) { TheDecl = D; } in setDecl() 1185 LabelDecl *Label; 1189 GotoStmt(LabelDecl *label, SourceLocation GL, SourceLocation LL) in GotoStmt() 1195 LabelDecl *getLabel() const { return Label; } in getLabel() 1196 void setLabel(LabelDecl *D) { Label = D; } in setLabel() 1242 LabelDecl *getConstantTarget(); [all …]
|
D | Decl.h | 354 class LabelDecl : public NamedDecl { 362 LabelDecl(DeclContext *DC, SourceLocation IdentL, IdentifierInfo *II, in LabelDecl() function 367 static LabelDecl *Create(ASTContext &C, DeclContext *DC, 369 static LabelDecl *Create(ASTContext &C, DeclContext *DC, 372 static LabelDecl *CreateDeserialized(ASTContext &C, unsigned ID); 386 static bool classof(const LabelDecl *D) { return true; } in classof()
|
D | Expr.h | 3172 LabelDecl *Label; 3174 AddrLabelExpr(SourceLocation AALoc, SourceLocation LLoc, LabelDecl *L, in AddrLabelExpr() 3193 LabelDecl *getLabel() const { return Label; } in getLabel() 3194 void setLabel(LabelDecl *L) { Label = L; } in setLabel()
|
/external/clang/lib/Frontend/ |
D | ASTConsumers.cpp | 401 LabelDecl *LD = cast<LabelDecl>(*I); in PrintDeclContext()
|
/external/clang/lib/AST/ |
D | Decl.cpp | 2862 void LabelDecl::anchor() { } in anchor() 2864 LabelDecl *LabelDecl::Create(ASTContext &C, DeclContext *DC, in Create() 2866 return new (C) LabelDecl(DC, IdentL, II, 0, IdentL); in Create() 2869 LabelDecl *LabelDecl::Create(ASTContext &C, DeclContext *DC, in Create() 2873 return new (C) LabelDecl(DC, IdentL, II, 0, GnuLabelL); in Create() 2876 LabelDecl *LabelDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized() 2877 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(LabelDecl)); in CreateDeserialized() 2878 return new (Mem) LabelDecl(0, SourceLocation(), 0, 0, SourceLocation()); in CreateDeserialized()
|
D | StmtDumper.cpp | 294 } else if (LabelDecl *LD = dyn_cast<LabelDecl>(D)) { in DumpDeclarator()
|
D | DeclPrinter.cpp | 56 void VisitLabelDecl(LabelDecl *D); 601 void DeclPrinter::VisitLabelDecl(LabelDecl *D) { in VisitLabelDecl()
|
D | Stmt.cpp | 966 LabelDecl *IndirectGotoStmt::getConstantTarget() { in getConstantTarget()
|
/external/clang/include/clang/Sema/ |
D | ScopeInfo.h | 27 class LabelDecl; variable
|
D | Template.h | 384 Decl *VisitLabelDecl(LabelDecl *D);
|
/external/clang/lib/CodeGen/ |
D | CGStmt.cpp | 300 CodeGenFunction::getJumpDestForLabel(const LabelDecl *D) { in getJumpDestForLabel() 311 void CodeGenFunction::EmitLabel(const LabelDecl *D) { in EmitLabel() 355 if (const LabelDecl *Target = S.getConstantTarget()) { in EmitIndirectGotoStmt()
|
D | CodeGenFunction.h | 52 class LabelDecl; variable 1134 llvm::DenseMap<const LabelDecl*, JumpDest> LabelMap; 1518 JumpDest getJumpDestForLabel(const LabelDecl *S); 1706 llvm::BlockAddress *GetAddrOfLabel(const LabelDecl *L); 1986 void EmitLabel(const LabelDecl *D); // helper for EmitLabelStmt.
|
D | CodeGenFunction.cpp | 887 llvm::BlockAddress *CodeGenFunction::GetAddrOfLabel(const LabelDecl *L) { in GetAddrOfLabel()
|
/external/clang/lib/Serialization/ |
D | ASTReaderStmt.cpp | 156 LabelDecl *LD = ReadDeclAs<LabelDecl>(Record, Idx); in VisitLabelStmt() 243 S->setLabel(ReadDeclAs<LabelDecl>(Record, Idx)); in VisitGotoStmt() 734 E->setLabel(ReadDeclAs<LabelDecl>(Record, Idx)); in VisitAddrLabelExpr()
|
D | ASTReaderDecl.cpp | 220 void VisitLabelDecl(LabelDecl *LD); 990 void ASTDeclReader::VisitLabelDecl(LabelDecl *D) { in VisitLabelDecl() 1940 D = LabelDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
|
D | ASTWriterDecl.cpp | 54 void VisitLabelDecl(LabelDecl *LD); 810 void ASTDeclWriter::VisitLabelDecl(LabelDecl *D) { in VisitLabelDecl()
|
/external/clang/lib/Parse/ |
D | ParseStmt.cpp | 437 LabelDecl *LD = Actions.LookupOrCreateLabel(IdentTok.getIdentifierInfo(), in ParseLabeledStatement() 1507 LabelDecl *LD = Actions.LookupOrCreateLabel(Tok.getIdentifierInfo(), in ParseGotoStatement()
|
/external/clang/tools/libclang/ |
D | CIndex.cpp | 1672 LabelRefVisit(LabelDecl *LD, SourceLocation labelLoc, CXCursor parent) in LabelRefVisit() 1679 LabelDecl *get() const { return static_cast<LabelDecl*>(data[0]); } in get() 2175 LabelDecl *LS = cast<LabelRefVisit>(&LI)->get(); in RunVisitorWorkList() 4226 if (LabelDecl *label = Goto->getLabel()) in clang_getCursorReferenced()
|
/external/clang/lib/Analysis/ |
D | CFG.cpp | 269 typedef llvm::DenseMap<LabelDecl*, JumpTarget> LabelMapTy; 278 typedef llvm::SmallPtrSet<LabelDecl*, 5> LabelSetTy; 1559 if (isa<LabelDecl>(*DS->decl_begin())) in VisitDeclStmt()
|