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

/external/clang/lib/AST/
H A DDeclBase.cpp1031 ExternalLast->NextInContextAndBits.setPointer(FirstDecl);
1032 FirstDecl = ExternalFirst;
1104 return decl_iterator(FirstDecl);
1111 return !FirstDecl;
1126 if (D == FirstDecl) {
1128 FirstDecl = LastDecl = nullptr;
1130 FirstDecl = D->NextInContextAndBits.getPointer();
1132 for (Decl *I = FirstDecl; true; I = I->NextInContextAndBits.getPointer()) {
1168 if (FirstDecl) {
1172 FirstDecl
[all...]
H A DDecl.cpp3528 return field_iterator(decl_iterator(FirstDecl));
3577 std::tie(FirstDecl, LastDecl) = BuildDeclChain(Decls,
/external/clang/include/clang/AST/
H A DDeclBase.h1050 /// FirstDecl - The first declaration stored within this declaration
1052 mutable Decl *FirstDecl; member in class:clang::DeclContext
1074 FirstDecl(nullptr), LastDecl(nullptr) {}
1324 decl_iterator noload_decls_begin() const { return decl_iterator(FirstDecl); }
1636 return D && (D->NextInContextAndBits.getPointer() || D == FirstDecl ||
/external/clang/lib/Parse/
H A DParseDecl.cpp1625 Decl *FirstDecl = ParseDeclarationAfterDeclaratorAndAttributes( local
1628 ParseLexedAttributeList(LateParsedAttrs, FirstDecl, true, false);
1629 D.complete(FirstDecl);
1630 if (FirstDecl)
1631 DeclsInGroup.push_back(FirstDecl);
/external/clang/lib/Sema/
H A DSemaDecl.cpp770 NamedDecl *FirstDecl = Corrected.getCorrectionDecl(); local
772 = FirstDecl? FirstDecl->getUnderlyingDecl() : nullptr;
807 if (FirstDecl)
808 Result.addDecl(FirstDecl);
925 NamedDecl *FirstDecl = (*Result.begin())->getUnderlyingDecl(); local
926 if (TypeDecl *Type = dyn_cast<TypeDecl>(FirstDecl)) {
934 ObjCInterfaceDecl *Class = dyn_cast<ObjCInterfaceDecl>(FirstDecl);
938 dyn_cast<ObjCCompatibleAliasDecl>(FirstDecl))
957 if (isa<TemplateDecl>(FirstDecl)
[all...]
/external/clang/lib/Serialization/
H A DASTReaderDecl.cpp1988 T *FirstDecl = cast_or_null<T>(Reader.GetDecl(FirstDeclID)); local
1989 if (FirstDecl != D) {
1994 D->RedeclLink = Redeclarable<T>::PreviousDeclLink(FirstDecl);
H A DASTReader.cpp1206 const DeclID *FirstDecl = F->FileSortedDecls + Record[6]; local
1210 FileDeclIDs[FID] = FileDeclsInfo(F, llvm::makeArrayRef(FirstDecl,

Completed in 354 milliseconds