/external/clang/lib/Sema/ |
H A D | JumpDiagnostics.cpp | 70 SmallVector<LabelDecl*, 4> IndirectJumpTargets; 83 LabelDecl *Target, unsigned TargetScope); 501 LabelDecl *Target = IGS->getConstantTarget(); 582 llvm::DenseMap<unsigned, LabelDecl*> TargetScopes; 583 for (SmallVectorImpl<LabelDecl*>::iterator 586 LabelDecl *TheLabel = *I; 590 LabelDecl *&Target = TargetScopes[LabelScope]; 603 for (llvm::DenseMap<unsigned,LabelDecl*>::iterator 606 LabelDecl *TargetLabel = TI->second; 683 LabelDecl *Targe [all...] |
H A D | SemaLookup.cpp | 3235 LabelDecl *Sema::LookupOrCreateLabel(IdentifierInfo *II, SourceLocation Loc, 3242 Res = LabelDecl::Create(Context, CurContext, Loc, II, GnuLabelLoc); 3245 return cast<LabelDecl>(Res); 3256 Res = LabelDecl::Create(Context, CurContext, Loc, II); 3261 return cast<LabelDecl>(Res);
|
H A D | SemaTemplateInstantiateDecl.cpp | 216 TemplateDeclInstantiator::VisitLabelDecl(LabelDecl *D) { 217 LabelDecl *Inst = LabelDecl::Create(SemaRef.Context, Owner, D->getLocation(), 4439 assert(isa<LabelDecl>(D)); 4445 return cast<LabelDecl>(Inst);
|
H A D | TreeTransform.h | 1097 StmtResult RebuildLabelStmt(SourceLocation IdentLoc, LabelDecl *L, 1178 LabelDecl *Label) { 1981 SourceLocation LabelLoc, LabelDecl *Label) { 5489 cast<LabelDecl>(LD), SourceLocation(), 5754 cast<LabelDecl>(LD)); 7513 cast<LabelDecl>(LD));
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | SVals.h | 472 explicit GotoLabel(LabelDecl *Label) : Loc(GotoLabelKind, Label) {} 474 const LabelDecl *getLabel() const { 475 return static_cast<const LabelDecl*>(Data);
|
H A D | CoreEngine.h | 471 const LabelDecl *getLabel() const {
|
/external/clang/lib/Frontend/ |
H A D | ASTConsumers.cpp | 405 LabelDecl *LD = cast<LabelDecl>(I);
|
/external/clang/include/clang/AST/ |
H A D | Stmt.h | 40 class LabelDecl; 782 LabelDecl *TheDecl; 786 LabelStmt(SourceLocation IL, LabelDecl *D, Stmt *substmt) 794 LabelDecl *getDecl() const { return TheDecl; } 795 void setDecl(LabelDecl *D) { TheDecl = D; } 1207 LabelDecl *Label; 1211 GotoStmt(LabelDecl *label, SourceLocation GL, SourceLocation LL) 1217 LabelDecl *getLabel() const { return Label; } 1218 void setLabel(LabelDecl *D) { Label = D; } 1263 LabelDecl *getConstantTarge [all...] |
H A D | Decl.h | 300 /// LabelDecl - Represents the declaration of a label. Labels also have a 305 class LabelDecl : public NamedDecl { class in namespace:clang 313 LabelDecl(DeclContext *DC, SourceLocation IdentL, IdentifierInfo *II, function in class:clang::LabelDecl 318 static LabelDecl *Create(ASTContext &C, DeclContext *DC, 320 static LabelDecl *Create(ASTContext &C, DeclContext *DC, 323 static LabelDecl *CreateDeserialized(ASTContext &C, unsigned ID);
|
H A D | Expr.h | 3353 LabelDecl *Label; 3355 AddrLabelExpr(SourceLocation AALoc, SourceLocation LLoc, LabelDecl *L, 3373 LabelDecl *getLabel() const { return Label; } 3374 void setLabel(LabelDecl *L) { Label = L; }
|
/external/clang/unittests/AST/ |
H A D | SourceLocationTest.cpp | 68 TEST(LabelDecl, Range) {
|
/external/clang/lib/CodeGen/ |
H A D | CodeGenFunction.h | 56 class LabelDecl; 512 SmallVector<const LabelDecl*, 4> Labels; 527 void addLabel(const LabelDecl *label) { 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.
|
H A D | CGStmt.cpp | 355 CodeGenFunction::getJumpDestForLabel(const LabelDecl *D) { 366 void CodeGenFunction::EmitLabel(const LabelDecl *D) { 401 for (SmallVectorImpl<const LabelDecl*>::const_iterator 454 if (const LabelDecl *Target = S.getConstantTarget()) {
|
/external/clang/lib/AST/ |
H A D | Decl.cpp | 3641 void LabelDecl::anchor() { } 3643 LabelDecl *LabelDecl::Create(ASTContext &C, DeclContext *DC, 3645 return new (C, DC) LabelDecl(DC, IdentL, II, nullptr, IdentL); 3648 LabelDecl *LabelDecl::Create(ASTContext &C, DeclContext *DC, 3652 return new (C, DC) LabelDecl(DC, IdentL, II, nullptr, GnuLabelL); 3655 LabelDecl *LabelDecl::CreateDeserialized(ASTContext &C, unsigned ID) { 3656 return new (C, ID) LabelDecl(nullpt [all...] |
H A D | DeclPrinter.cpp | 59 void VisitLabelDecl(LabelDecl *D); 646 void DeclPrinter::VisitLabelDecl(LabelDecl *D) {
|
H A D | ASTDumper.cpp | 237 void VisitLabelDecl(const LabelDecl *D); 844 void ASTDumper::VisitLabelDecl(const LabelDecl *D) {
|
H A D | Stmt.cpp | 944 LabelDecl *IndirectGotoStmt::getConstantTarget() {
|
/external/clang/include/clang/Sema/ |
H A D | ScopeInfo.h | 37 class LabelDecl;
|
H A D | Sema.h | 2603 LabelDecl *LookupOrCreateLabel(IdentifierInfo *II, SourceLocation IdentLoc, 3013 StmtResult ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl, 3077 LabelDecl *TheDecl); 3643 LabelDecl *TheDecl);
|
/external/clang/lib/Parse/ |
H A D | ParseStmt.cpp | 582 LabelDecl *LD = Actions.LookupOrCreateLabel(IdentTok.getIdentifierInfo(), 1741 LabelDecl *LD = Actions.LookupOrCreateLabel(Tok.getIdentifierInfo(),
|
/external/clang/lib/Serialization/ |
H A D | ASTReaderStmt.cpp | 164 LabelDecl *LD = ReadDeclAs<LabelDecl>(Record, Idx); 251 S->setLabel(ReadDeclAs<LabelDecl>(Record, Idx)); 819 E->setLabel(ReadDeclAs<LabelDecl>(Record, Idx));
|
H A D | ASTWriterDecl.cpp | 54 void VisitLabelDecl(LabelDecl *LD); 882 void ASTDeclWriter::VisitLabelDecl(LabelDecl *D) {
|
H A D | ASTReaderDecl.cpp | 231 void VisitLabelDecl(LabelDecl *LD); 1124 void ASTDeclReader::VisitLabelDecl(LabelDecl *D) { 2640 D = LabelDecl::CreateDeserialized(Context, ID);
|
/external/clang/lib/Analysis/ |
H A D | CFG.cpp | 308 typedef llvm::DenseMap<LabelDecl*, JumpTarget> LabelMapTy; 317 typedef llvm::SmallPtrSet<LabelDecl*, 5> LabelSetTy; 1905 if (isa<LabelDecl>(*DS->decl_begin()))
|
/external/clang/tools/libclang/ |
H A D | CIndex.cpp | 1736 LabelRefVisit(LabelDecl *LD, SourceLocation labelLoc, CXCursor parent) 1743 const LabelDecl *get() const { 1744 return static_cast<const LabelDecl *>(data[0]); 2378 const LabelDecl *LS = cast<LabelRefVisit>(&LI)->get(); 4624 if (LabelDecl *label = Goto->getLabel())
|