• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/clang/lib/Serialization/

Lines Matching refs:DeclContext

171     static DeclContext *getPrimaryDCForAnonymousDecl(DeclContext *LexicalDC);
174 DeclContext *DC,
176 static void setAnonymousDeclForMerging(ASTReader &Reader, DeclContext *DC,
203 /// chain hanging off an identifier or the DeclContext we searched in)
244 static DeclContext *getPrimaryContextForMerging(ASTReader &Reader,
245 DeclContext *DC);
404 std::pair<uint64_t, uint64_t> VisitDeclContext(DeclContext *DC);
560 // We don't want to deserialize the DeclContext of a template
562 // entities might be used in the formulation of its DeclContext (for
564 // return type of the function). Use the translation unit DeclContext as a
575 auto *SemaDC = readDeclAs<DeclContext>();
576 auto *LexicalDC = readDeclAs<DeclContext>();
579 DeclContext *MergedSemaDC = Reader.MergedDeclContexts.lookup(SemaDC);
1671 D->CommonAncestor = readDeclAs<DeclContext>();
2420 ASTDeclReader::VisitDeclContext(DeclContext *DC) {
3071 // Note that we can't use DeclContext::Equals here, because the DeclContexts
3272 DeclContext *ASTDeclReader::getPrimaryContextForMerging(ASTReader &Reader,
3273 DeclContext *DC) {
3317 DeclContext *DC = New->getDeclContext()->getRedeclContext();
3327 DeclContext *DC = New->getDeclContext()->getRedeclContext();
3336 } else if (DeclContext *MergeDC = getPrimaryContextForMerging(Reader, DC)) {
3364 /// for the given lexical DeclContext. We only care about finding local
3366 DeclContext *
3367 ASTDeclReader::getPrimaryDCForAnonymousDecl(DeclContext *LexicalDC) {
3391 DeclContext *DC,
3418 DeclContext *DC, unsigned Index,
3442 DeclContext *DC = D->getDeclContext()->getRedeclContext();
3495 } else if (DeclContext *MergeDC = getPrimaryContextForMerging(Reader, DC)) {
3496 DeclContext::lookup_result R = MergeDC->noload_lookup(Name);
3497 for (DeclContext::lookup_iterator I = R.begin(), E = R.end(); I != E; ++I) {
4054 // Set the DeclContext before doing any deserialization, to make sure internal
4062 if (auto *DC = dyn_cast<DeclContext>(D)) {
4198 auto *DC = cast<DeclContext>(D)->getPrimaryContext();
4410 // to its DeclContext.