Home
last modified time | relevance | path

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

/minix3/external/bsd/llvm/dist/clang/lib/AST/
H A DDeclBase.cpp1037 ExternalLast->NextInContextAndBits.setPointer(FirstDecl); in LoadLexicalDeclsFromExternalStorage()
1038 FirstDecl = ExternalFirst; in LoadLexicalDeclsFromExternalStorage()
1110 return decl_iterator(FirstDecl); in decls_begin()
1117 return !FirstDecl; in decls_empty()
1132 if (D == FirstDecl) { in removeDecl()
1134 FirstDecl = LastDecl = nullptr; in removeDecl()
1136 FirstDecl = D->NextInContextAndBits.getPointer(); in removeDecl()
1138 for (Decl *I = FirstDecl; true; I = I->NextInContextAndBits.getPointer()) { in removeDecl()
1174 if (FirstDecl) { in addHiddenDecl()
1178 FirstDecl = LastDecl = D; in addHiddenDecl()
[all …]
H A DDecl.cpp3579 return field_iterator(decl_iterator(FirstDecl)); in field_begin()
3628 std::tie(FirstDecl, LastDecl) = BuildDeclChain(Decls, in LoadFieldsFromExternalStorage()
/minix3/external/bsd/llvm/dist/clang/include/clang/AST/
H A DDeclBase.h1057 mutable Decl *FirstDecl;
1079 FirstDecl(nullptr), LastDecl(nullptr) {} in DeclContext()
1335 decl_iterator noload_decls_begin() const { return decl_iterator(FirstDecl); } in noload_decls_begin()
1647 return D && (D->NextInContextAndBits.getPointer() || D == FirstDecl || in isDeclInLexicalTraversal()
/minix3/external/bsd/llvm/dist/clang/lib/Sema/
H A DSemaDecl.cpp776 NamedDecl *FirstDecl = Corrected.getCorrectionDecl(); in ClassifyName() local
778 = FirstDecl? FirstDecl->getUnderlyingDecl() : nullptr; in ClassifyName()
813 if (FirstDecl) in ClassifyName()
814 Result.addDecl(FirstDecl); in ClassifyName()
931 NamedDecl *FirstDecl = (*Result.begin())->getUnderlyingDecl(); in ClassifyName() local
932 if (TypeDecl *Type = dyn_cast<TypeDecl>(FirstDecl)) { in ClassifyName()
941 ObjCInterfaceDecl *Class = dyn_cast<ObjCInterfaceDecl>(FirstDecl); in ClassifyName()
945 dyn_cast<ObjCCompatibleAliasDecl>(FirstDecl)) in ClassifyName()
964 if (isa<TemplateDecl>(FirstDecl) && !isa<FunctionTemplateDecl>(FirstDecl)) in ClassifyName()
966 TemplateName(cast<TemplateDecl>(FirstDecl))); in ClassifyName()
[all …]
/minix3/external/bsd/llvm/dist/clang/lib/Parse/
H A DParseDecl.cpp1741 Decl *FirstDecl = ParseDeclarationAfterDeclaratorAndAttributes( in ParseDeclGroup() local
1744 ParseLexedAttributeList(LateParsedAttrs, FirstDecl, true, false); in ParseDeclGroup()
1745 D.complete(FirstDecl); in ParseDeclGroup()
1746 if (FirstDecl) in ParseDeclGroup()
1747 DeclsInGroup.push_back(FirstDecl); in ParseDeclGroup()
/minix3/external/bsd/llvm/dist/clang/lib/Serialization/
H A DASTReaderDecl.cpp2061 T *FirstDecl = cast_or_null<T>(Reader.GetDecl(FirstDeclID)); in VisitRedeclarable() local
2062 if (FirstDecl != D) { in VisitRedeclarable()
2067 D->RedeclLink = Redeclarable<T>::PreviousDeclLink(FirstDecl); in VisitRedeclarable()
H A DASTReader.cpp1219 const DeclID *FirstDecl = F->FileSortedDecls + Record[6]; in ReadSLocEntry() local
1223 FileDeclIDs[FID] = FileDeclsInfo(F, llvm::makeArrayRef(FirstDecl, in ReadSLocEntry()