Home
last modified time | relevance | path

Searched refs:AddDeclRef (Results 1 – 9 of 9) sorted by relevance

/external/llvm-project/clang/lib/Serialization/
DASTWriterDecl.cpp169 Record.AddDeclRef(typeParam); in AddObjCTypeParamList()
188 Record.AddDeclRef(F.second); in AddFirstDeclFromEachModule()
298 Record.AddDeclRef(cast_or_null<Decl>(D->getDeclContext())); in VisitDecl()
300 Record.AddDeclRef(cast_or_null<Decl>(D->getLexicalDeclContext())); in VisitDecl()
383 Record.AddDeclRef(D->getAnonDeclWithTypedefName(false)); in VisitTypedefNameDecl()
404 Record.AddDeclRef(D->getDescribedAliasTemplate()); in VisitTypeAliasDecl()
425 Record.AddDeclRef(TD); in VisitTagDecl()
446 Record.AddDeclRef(MemberInfo->getInstantiatedFrom()); in VisitEnumDecl()
450 Record.AddDeclRef(nullptr); in VisitEnumDecl()
574 Record.AddDeclRef(P.getDecl()); in VisitFunctionDecl()
[all …]
DASTWriterStmt.cpp118 Record.AddDeclRef(S->getDecl()); in VisitLabelStmt()
150 Record.AddDeclRef(S->getConditionVariable()); in VisitIfStmt()
177 Record.AddDeclRef(S->getConditionVariable()); in VisitSwitchStmt()
198 Record.AddDeclRef(S->getConditionVariable()); in VisitWhileStmt()
220 Record.AddDeclRef(S->getConditionVariable()); in VisitForStmt()
231 Record.AddDeclRef(S->getLabel()); in VisitGotoStmt()
265 Record.AddDeclRef(S->getNRVOCandidate()); in VisitReturnStmt()
277 Record.AddDeclRef(*D); in VisitDeclStmt()
437 Record.AddDeclRef(E->getNamedConcept()); in VisitConceptSpecializationExpr()
438 Record.AddDeclRef(E->getFoundDecl()); in VisitConceptSpecializationExpr()
[all …]
DASTWriter.cpp318 Record.AddDeclRef(TL.getParam(i)); in VisitFunctionTypeLoc()
377 Record.AddDeclRef(TL.getFoundDecl()); in VisitAutoTypeLoc()
4076 AddDeclRef(*Cat, Categories); in WriteObjCCategories()
4119 AddDeclRef(FD, Record); in WriteLateParsedTemplates()
4120 AddDeclRef(LPT.D, Record); in WriteLateParsedTemplates()
4407 Writer.AddDeclRef(*I, Record); in AddLazyVectorDecls()
4498 AddDeclRef(SemaRef.VTableUses[I].first, VTableUses); in WriteASTCore()
4507 AddDeclRef(TD, UnusedLocalTypedefNameCandidates); in WriteASTCore()
4512 AddDeclRef(I.first, PendingInstantiations); in WriteASTCore()
4521 AddDeclRef(SemaRef.getStdNamespace(), SemaDeclRefs); in WriteASTCore()
[all …]
/external/clang/lib/Serialization/
DASTWriterDecl.cpp155 Record.AddDeclRef(typeParam); in AddObjCTypeParamList()
174 Record.AddDeclRef(F.second); in AddFirstDeclFromEachModule()
283 Record.AddDeclRef(cast_or_null<Decl>(D->getDeclContext())); in VisitDecl()
285 Record.AddDeclRef(cast_or_null<Decl>(D->getLexicalDeclContext())); in VisitDecl()
388 Record.AddDeclRef(D->getDescribedAliasTemplate()); in VisitTypeAliasDecl()
409 Record.AddDeclRef(TD); in VisitTagDecl()
428 Record.AddDeclRef(MemberInfo->getInstantiatedFrom()); in VisitEnumDecl()
432 Record.AddDeclRef(nullptr); in VisitEnumDecl()
539 Record.AddDeclRef(D->getDescribedFunctionTemplate()); in VisitFunctionDecl()
543 Record.AddDeclRef(MemberInfo->getInstantiatedFrom()); in VisitFunctionDecl()
[all …]
DASTWriterStmt.cpp114 Record.AddDeclRef(S->getDecl()); in VisitLabelStmt()
133 Record.AddDeclRef(S->getConditionVariable()); in VisitIfStmt()
145 Record.AddDeclRef(S->getConditionVariable()); in VisitSwitchStmt()
158 Record.AddDeclRef(S->getConditionVariable()); in VisitWhileStmt()
179 Record.AddDeclRef(S->getConditionVariable()); in VisitForStmt()
190 Record.AddDeclRef(S->getLabel()); in VisitGotoStmt()
220 Record.AddDeclRef(S->getNRVOCandidate()); in VisitReturnStmt()
230 Record.AddDeclRef(*D); in VisitDeclStmt()
329 Record.AddDeclRef(S->getCapturedDecl()); in VisitCapturedStmt()
332 Record.AddDeclRef(S->getCapturedRecordDecl()); in VisitCapturedStmt()
[all …]
DASTWriter.cpp245 Record.AddDeclRef(T->getExceptionSpecDecl()); in addExceptionSpec()
246 Record.AddDeclRef(T->getExceptionSpecTemplate()); in addExceptionSpec()
248 Record.AddDeclRef(T->getExceptionSpecDecl()); in addExceptionSpec()
279 Record.AddDeclRef(T->getDecl()); in VisitUnresolvedUsingType()
284 Record.AddDeclRef(T->getDecl()); in VisitTypedefType()
323 Record.AddDeclRef(T->getDecl()->getCanonicalDecl()); in VisitTagType()
396 Record.AddDeclRef(T->getDecl()); in VisitTemplateTypeParmType()
444 Record.AddDeclRef(T->getDecl()->getCanonicalDecl()); in VisitInjectedClassNameType()
450 Record.AddDeclRef(T->getDecl()->getCanonicalDecl()); in VisitObjCInterfaceType()
461 Record.AddDeclRef(I); in VisitObjCObjectType()
[all …]
/external/llvm-project/clang/include/clang/Serialization/
DASTRecordWriter.h219 void AddDeclRef(const Decl *D) { in AddDeclRef() function
220 return Writer->AddDeclRef(D, *Record); in AddDeclRef()
223 AddDeclRef(D); in writeDeclRef()
DASTWriter.h635 void AddDeclRef(const Decl *D, RecordDataImpl &Record);
/external/clang/include/clang/Serialization/
DASTWriter.h580 void AddDeclRef(const Decl *D, RecordDataImpl &Record);
851 void AddDeclRef(const Decl *D) { in AddDeclRef() function
852 return Writer->AddDeclRef(D, *Record); in AddDeclRef()