Home | History | Annotate | Download | only in AST

Lines Matching refs:getDeclContext

45   return !getLexicalDeclContext()->Equals(getDeclContext());
302 const DeclContext *DC = D->getDeclContext();
572 if (const auto *SD = dyn_cast<LinkageSpecDecl>(D.getDeclContext()))
580 assert(D->getDeclContext()->getRedeclContext()->isFileContext() &&
662 for (const DeclContext *DC = D->getDeclContext();
805 LinkageInfo EnumLV = getLVForDecl(cast<NamedDecl>(D->getDeclContext()),
891 getLVForDecl(cast<RecordDecl>(D->getDeclContext()), classComputation);
1122 DC = ContextDecl->getDeclContext()->getRedeclContext();
1198 LV = getLVForClosure(BD->getDeclContext()->getRedeclContext(),
1256 return getLVForDecl(cast<EnumDecl>(D->getDeclContext()), computation);
1305 OuterMostLambda->getDeclContext()->getRedeclContext(),
1314 if (D->getDeclContext()->getRedeclContext()->isFileContext())
1324 if (D->getDeclContext()->isRecord())
1338 if (D->getDeclContext()->isFunctionOrMethod())
1411 const DeclContext *Ctx = getDeclContext();
1538 if (!this->getDeclContext()->getRedeclContext()->Equals(
1539 OldD->getDeclContext()->getRedeclContext()))
1867 const DeclContext *DC = D.getDeclContext();
1883 const DeclContext *DC = D.getDeclContext();
2360 if (isa<ObjCMethodDecl>(getDeclContext()))
2510 if (auto *Parent = dyn_cast<CXXRecordDecl>(getDeclContext()))
2522 dyn_cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext());
2530 dyn_cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext());
2562 if (!getDeclContext()->getRedeclContext()->isTranslationUnit())
2570 cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext())
2587 if (isa<CXXRecordDecl>(getDeclContext()))
2591 if (!getDeclContext()->getRedeclContext()->isTranslationUnit())
2642 for (const DeclContext *DC = getDeclContext();
2698 dyn_cast<LinkageSpecDecl>(getFirstDecl()->getDeclContext());
2768 DeclContext *DC = I->getDeclContext();
3748 return isImplicit() && getDeclName() && getDeclContext()->isRecord() &&
3749 cast<RecordDecl>(getDeclContext())->getDeclName() == getDeclName();