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

Lines Matching defs:DC

174                                                  DeclContext *DC,
176 static void setAnonymousDeclForMerging(ASTReader &Reader, DeclContext *DC,
245 DeclContext *DC);
404 std::pair<uint64_t, uint64_t> VisitDeclContext(DeclContext *DC);
2420 ASTDeclReader::VisitDeclContext(DeclContext *DC) {
3073 // semantic DC to refer to the primary definition after merging.)
3273 DeclContext *DC) {
3274 if (auto *ND = dyn_cast<NamespaceDecl>(DC))
3277 if (auto *RD = dyn_cast<CXXRecordDecl>(DC)) {
3283 // If there's no definition yet, then DC's definition is added by an update
3285 // commit to DC being the canonical definition now, and will fix this when
3301 if (auto *ED = dyn_cast<EnumDecl>(DC))
3306 // there's no TU scope to look in, so using the DC alone is sufficient.
3307 if (auto *TU = dyn_cast<TranslationUnitDecl>(DC))
3317 DeclContext *DC = New->getDeclContext()->getRedeclContext();
3319 std::make_pair(std::make_pair(DC, TypedefNameForLinkage), New));
3327 DeclContext *DC = New->getDeclContext()->getRedeclContext();
3331 } else if (DC->isTranslationUnit() &&
3336 } else if (DeclContext *MergeDC = getPrimaryContextForMerging(Reader, DC)) {
3391 DeclContext *DC,
3395 auto *CanonDC = cast<Decl>(DC)->getCanonicalDecl();
3404 auto *PrimaryDC = getPrimaryDCForAnonymousDecl(DC);
3418 DeclContext *DC, unsigned Index,
3420 auto *CanonDC = cast<Decl>(DC)->getCanonicalDecl();
3442 DeclContext *DC = D->getDeclContext()->getRedeclContext();
3445 std::make_pair(DC, TypedefNameForLinkage));
3462 } else if (DC->isTranslationUnit() &&
3495 } else if (DeclContext *MergeDC = getPrimaryContextForMerging(Reader, DC)) {
4062 if (auto *DC = dyn_cast<DeclContext>(D)) {
4063 std::pair<uint64_t, uint64_t> Offsets = Reader.VisitDeclContext(DC);
4065 ReadLexicalDeclContextStorage(*Loc.F, DeclsCursor, Offsets.first, DC))
4198 auto *DC = cast<DeclContext>(D)->getPrimaryContext();
4200 Lookups[DC].Table.add(
4203 DC->setHasExternalVisibleStorage(true);