Lines Matching refs:getDeclContext

1039       !D->getDeclContext()->getRedeclContext()->Equals(
1181 const DeclContext *DC = D->getDeclContext();
1208 if (D->getDeclContext()->isDependentContext() ||
1282 !D->getDeclContext()->isFunctionOrMethod())
2193 cast<FunctionDecl>(oldDecl->getDeclContext())->getFirstDecl();
2278 const DeclContext *DC = Old->getDeclContext();
2861 isa<ObjCImplDecl>(newMethod->getDeclContext()) ? AMK_Redeclaration
3186 S.getCurrentMangleNumberContext(Tag->getDeclContext(),
3287 Record->getDeclContext()->isRecord())
3334 Tag && Tag->getDeclContext()->isFunctionOrMethod())
3559 DeclContext *Owner = Record->getDeclContext();
3658 } else if (isa<TagDecl>(*Mem) && (*Mem)->getDeclContext() != Record) {
4079 Dcl && Dcl->getDeclContext()->isFileContext())
4684 NewTD->getDeclContext()->getRedeclContext()->isTranslationUnit()) {
4737 DeclContext *PrevOuterContext = PrevDecl->getDeclContext();
4890 const DeclContext *DC = VD->getDeclContext()->getRedeclContext();
4901 const DeclContext *DC = FD->getDeclContext()->getRedeclContext();
5471 getCurrentMangleNumberContext(NewVD->getDeclContext(),
5509 DeclContext *NewDC = D->getDeclContext();
5538 DeclContext *OldDC = ShadowedDecl->getDeclContext();
5677 if (ND->getDeclContext()->getRedeclContext()->isTranslationUnit()) {
5689 if (ND->getDeclContext()->getRedeclContext()->isTranslationUnit())
6044 DeclContext *NewDC = NewFD->getDeclContext();
6112 Correction.getCorrectionDecl()->getDeclContext(),
6617 dyn_cast<CXXRecordDecl>(NewFD->getDeclContext())) {
6925 assert(Param->getDeclContext() != NewFD && "Was set before ?");
7199 if (isa<CXXRecordDecl>(NewFD->getDeclContext()))
7342 NewFD->getDeclContext()->getRedeclContext()->isTranslationUnit()) {
8848 if (!var->getDeclContext()->isDependentContext() &&
8923 const DeclContext *DC = VD->getDeclContext();
10058 FD->getDeclContext()->isTranslationUnit()) ||
10059 (isa<LinkageSpecDecl>(FD->getDeclContext()) &&
10060 cast<LinkageSpecDecl>(FD->getDeclContext())->getLanguage() ==
10501 if (ND->getDeclContext()->getRedeclContext() != SearchDC)
10521 DeclContext *DC = ND->getDeclContext()->getRedeclContext();
10523 !EnclosingNS->Encloses(ND->getDeclContext())) {
10653 Tag->getDeclContext()->getRedeclContext()
10654 ->Equals(TD->getDeclContext()->getRedeclContext())) {
11041 DeclContext *DC = New->getDeclContext()->getRedeclContext();
11059 New->getDeclContext()->getRedeclContext()->isTranslationUnit() &&
11163 Tag->getDeclContext()->isFileContext())
12461 TheEnumDecl->getDeclContext()->getRedeclContext()))
12516 if (cast<EnumDecl>(TagDecl::castFromDeclContext(ECD->getDeclContext())) !=