Home | History | Annotate | Download | only in Core

Lines Matching defs:DC

205   const DeclContext *DC = D->getDeclContext();
206 if (const auto *NS = dyn_cast<NamespaceDecl>(DC)) {
215 } else if (const auto *TD = dyn_cast<TagDecl>(DC)) {
217 } else if (const auto *TDD = dyn_cast<TypedefNameDecl>(DC)) {
220 } else if (WithGlobalNsPrefix && DC->isTranslationUnit()) {
285 const DeclContext *DC = Decl->getDeclContext()->getRedeclContext();
286 const auto *Outer = dyn_cast_or_null<NamedDecl>(DC);
287 const auto *OuterNS = dyn_cast_or_null<NamespaceDecl>(DC);
289 if (const auto *CxxDecl = dyn_cast<CXXRecordDecl>(DC)) {
324 } else if (WithGlobalNsPrefix && DC->isTranslationUnit()) {