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

/external/clang/lib/AST/
H A DDeclBase.cpp1135 ExternalLast->NextInContextAndBits.setPointer(FirstDecl);
1136 FirstDecl = ExternalFirst;
1209 return decl_iterator(FirstDecl);
1216 return !FirstDecl;
1231 if (D == FirstDecl) {
1233 FirstDecl = LastDecl = nullptr;
1235 FirstDecl = D->NextInContextAndBits.getPointer();
1237 for (Decl *I = FirstDecl; true; I = I->NextInContextAndBits.getPointer()) {
1276 if (FirstDecl) {
1280 FirstDecl
[all...]
H A DDecl.cpp3770 return field_iterator(decl_iterator(FirstDecl));
3809 std::tie(FirstDecl, LastDecl) = BuildDeclChain(Decls,
/external/clang/include/clang/AST/
H A DDeclBase.h1177 /// FirstDecl - The first declaration stored within this declaration
1179 mutable Decl *FirstDecl; member in class:clang::DeclContext
1203 LookupPtr(nullptr), FirstDecl(nullptr), LastDecl(nullptr) {}
1464 decl_iterator noload_decls_begin() const { return decl_iterator(FirstDecl); }
1779 return D && (D->NextInContextAndBits.getPointer() || D == FirstDecl ||
/external/clang/lib/Parse/
H A DParseDecl.cpp1844 Decl *FirstDecl = ParseDeclarationAfterDeclaratorAndAttributes( local
1847 ParseLexedAttributeList(LateParsedAttrs, FirstDecl, true, false);
1848 D.complete(FirstDecl);
1849 if (FirstDecl)
1850 DeclsInGroup.push_back(FirstDecl);
/external/clang/lib/Serialization/
H A DASTReaderDecl.cpp2276 T *FirstDecl = cast_or_null<T>(Reader.GetDecl(FirstDeclID)); local
2277 if (FirstDecl != D) {
2282 D->RedeclLink = Redeclarable<T>::PreviousDeclLink(FirstDecl);
2283 D->First = FirstDecl->getCanonicalDecl();
H A DASTReader.cpp1286 const DeclID *FirstDecl = F->FileSortedDecls + Record[6]; local
1290 FileDeclIDs[FID] = FileDeclsInfo(F, llvm::makeArrayRef(FirstDecl,
/external/clang/lib/Sema/
H A DSemaDecl.cpp860 NamedDecl *FirstDecl = Corrected.getFoundDecl(); local
896 if (FirstDecl)
897 Result.addDecl(FirstDecl);
1014 NamedDecl *FirstDecl = (*Result.begin())->getUnderlyingDecl(); local
1015 if (TypeDecl *Type = dyn_cast<TypeDecl>(FirstDecl)) {
1024 ObjCInterfaceDecl *Class = dyn_cast<ObjCInterfaceDecl>(FirstDecl);
1028 dyn_cast<ObjCCompatibleAliasDecl>(FirstDecl))
1047 if (isa<TemplateDecl>(FirstDecl) && !isa<FunctionTemplateDecl>(FirstDecl))
1049 TemplateName(cast<TemplateDecl>(FirstDecl)));
[all...]

Completed in 548 milliseconds