Home
last modified time | relevance | path

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

/NextBSD/contrib/llvm/tools/clang/lib/AST/
HDDeclBase.cpp1070 ExternalLast->NextInContextAndBits.setPointer(FirstDecl); in LoadLexicalDeclsFromExternalStorage()
1071 FirstDecl = ExternalFirst; in LoadLexicalDeclsFromExternalStorage()
1144 return decl_iterator(FirstDecl); in decls_begin()
1151 return !FirstDecl; in decls_empty()
1166 if (D == FirstDecl) { in removeDecl()
1168 FirstDecl = LastDecl = nullptr; in removeDecl()
1170 FirstDecl = D->NextInContextAndBits.getPointer(); in removeDecl()
1172 for (Decl *I = FirstDecl; true; I = I->NextInContextAndBits.getPointer()) { in removeDecl()
1208 if (FirstDecl) { in addHiddenDecl()
1212 FirstDecl = LastDecl = D; in addHiddenDecl()
[all …]
HDDecl.cpp3633 return field_iterator(decl_iterator(FirstDecl)); in field_begin()
3682 std::tie(FirstDecl, LastDecl) = BuildDeclChain(Decls, in LoadFieldsFromExternalStorage()
/NextBSD/contrib/llvm/tools/clang/include/clang/AST/
HDDeclBase.h1140 mutable Decl *FirstDecl;
1163 LookupPtr(nullptr), FirstDecl(nullptr), LastDecl(nullptr) {} in DeclContext()
1424 decl_iterator noload_decls_begin() const { return decl_iterator(FirstDecl); } in noload_decls_begin()
1739 return D && (D->NextInContextAndBits.getPointer() || D == FirstDecl || in isDeclInLexicalTraversal()
/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDSemaDecl.cpp816 NamedDecl *FirstDecl = Corrected.getCorrectionDecl(); in ClassifyName() local
818 = FirstDecl? FirstDecl->getUnderlyingDecl() : nullptr; in ClassifyName()
853 if (FirstDecl) in ClassifyName()
854 Result.addDecl(FirstDecl); in ClassifyName()
971 NamedDecl *FirstDecl = (*Result.begin())->getUnderlyingDecl(); in ClassifyName() local
972 if (TypeDecl *Type = dyn_cast<TypeDecl>(FirstDecl)) { in ClassifyName()
981 ObjCInterfaceDecl *Class = dyn_cast<ObjCInterfaceDecl>(FirstDecl); in ClassifyName()
985 dyn_cast<ObjCCompatibleAliasDecl>(FirstDecl)) in ClassifyName()
1004 if (isa<TemplateDecl>(FirstDecl) && !isa<FunctionTemplateDecl>(FirstDecl)) in ClassifyName()
1006 TemplateName(cast<TemplateDecl>(FirstDecl))); in ClassifyName()
[all …]
/NextBSD/contrib/llvm/tools/clang/lib/Parse/
HDParseDecl.cpp1813 Decl *FirstDecl = ParseDeclarationAfterDeclaratorAndAttributes( in ParseDeclGroup() local
1816 ParseLexedAttributeList(LateParsedAttrs, FirstDecl, true, false); in ParseDeclGroup()
1817 D.complete(FirstDecl); in ParseDeclGroup()
1818 if (FirstDecl) in ParseDeclGroup()
1819 DeclsInGroup.push_back(FirstDecl); in ParseDeclGroup()
/NextBSD/contrib/llvm/tools/clang/lib/Serialization/
HDASTReaderDecl.cpp2200 T *FirstDecl = cast_or_null<T>(Reader.GetDecl(FirstDeclID)); in VisitRedeclarable() local
2201 if (FirstDecl != D) { in VisitRedeclarable()
2206 D->RedeclLink = Redeclarable<T>::PreviousDeclLink(FirstDecl); in VisitRedeclarable()
2207 D->First = FirstDecl->getCanonicalDecl(); in VisitRedeclarable()
HDASTReader.cpp1216 const DeclID *FirstDecl = F->FileSortedDecls + Record[6]; in ReadSLocEntry() local
1220 FileDeclIDs[FID] = FileDeclsInfo(F, llvm::makeArrayRef(FirstDecl, in ReadSLocEntry()