Home
last modified time | relevance | path

Searched refs:FirstDecl (Results 1 – 7 of 7) sorted by relevance

/freebsd-9-stable/contrib/llvm/tools/clang/lib/AST/
DDeclBase.cpp987 ExternalLast->NextInContextAndBits.setPointer(FirstDecl); in LoadLexicalDeclsFromExternalStorage()
988 FirstDecl = ExternalFirst; in LoadLexicalDeclsFromExternalStorage()
1054 return decl_iterator(FirstDecl); in noload_decls_begin()
1061 return decl_iterator(FirstDecl); in decls_begin()
1068 return !FirstDecl; in decls_empty()
1083 if (D == FirstDecl) { in removeDecl()
1085 FirstDecl = LastDecl = 0; in removeDecl()
1087 FirstDecl = D->NextInContextAndBits.getPointer(); in removeDecl()
1089 for (Decl *I = FirstDecl; true; I = I->NextInContextAndBits.getPointer()) { in removeDecl()
1125 if (FirstDecl) { in addHiddenDecl()
[all …]
DDecl.cpp3381 return field_iterator(decl_iterator(FirstDecl)); in field_begin()
3430 llvm::tie(FirstDecl, LastDecl) = BuildDeclChain(Decls, in LoadFieldsFromExternalStorage()
/freebsd-9-stable/contrib/llvm/tools/clang/include/clang/AST/
DDeclBase.h1030 mutable Decl *FirstDecl;
1052 FirstDecl(0), LastDecl(0) {} in DeclContext()
1612 return D && (D->NextInContextAndBits.getPointer() || D == FirstDecl || in isDeclInLexicalTraversal()
/freebsd-9-stable/contrib/llvm/tools/clang/lib/Sema/
DSemaDecl.cpp653 NamedDecl *FirstDecl = Corrected.getCorrectionDecl(); in ClassifyName() local
655 = FirstDecl? FirstDecl->getUnderlyingDecl() : 0; in ClassifyName()
690 if (FirstDecl) in ClassifyName()
691 Result.addDecl(FirstDecl); in ClassifyName()
808 NamedDecl *FirstDecl = (*Result.begin())->getUnderlyingDecl(); in ClassifyName() local
809 if (TypeDecl *Type = dyn_cast<TypeDecl>(FirstDecl)) { in ClassifyName()
817 ObjCInterfaceDecl *Class = dyn_cast<ObjCInterfaceDecl>(FirstDecl); in ClassifyName()
821 = dyn_cast<ObjCCompatibleAliasDecl>(FirstDecl)) in ClassifyName()
840 if (isa<TemplateDecl>(FirstDecl) && !isa<FunctionTemplateDecl>(FirstDecl)) in ClassifyName()
842 TemplateName(cast<TemplateDecl>(FirstDecl))); in ClassifyName()
[all …]
/freebsd-9-stable/contrib/llvm/tools/clang/lib/Parse/
DParseDecl.cpp1669 Decl *FirstDecl = ParseDeclarationAfterDeclaratorAndAttributes(D); in ParseDeclGroup() local
1671 ParseLexedAttributeList(LateParsedAttrs, FirstDecl, true, false); in ParseDeclGroup()
1672 D.complete(FirstDecl); in ParseDeclGroup()
1673 if (FirstDecl) in ParseDeclGroup()
1674 DeclsInGroup.push_back(FirstDecl); in ParseDeclGroup()
/freebsd-9-stable/contrib/llvm/tools/clang/lib/Serialization/
DASTReaderDecl.cpp1820 T *FirstDecl = cast_or_null<T>(Reader.GetDecl(FirstDeclID)); in VisitRedeclarable() local
1821 if (FirstDecl != D) { in VisitRedeclarable()
1826 D->RedeclLink = Redeclarable<T>::PreviousDeclLink(FirstDecl); in VisitRedeclarable()
DASTReader.cpp975 const DeclID *FirstDecl = F->FileSortedDecls + Record[6]; in ReadSLocEntry() local
979 FileDeclIDs[FID] = FileDeclsInfo(F, llvm::makeArrayRef(FirstDecl, in ReadSLocEntry()