Home | History | Annotate | Download | only in Sema

Lines Matching refs:getDeclContext

29   const DeclContext *DC = D->getDeclContext();
246 auto *ThisContext = dyn_cast_or_null<CXXRecordDecl>(FD->getDeclContext());
392 dyn_cast_or_null<CXXRecordDecl>(ND->getDeclContext());
415 if (Result && isa<CXXRecordDecl>(D->getDeclContext()) &&
490 CXXRecordDecl *RD = dyn_cast<CXXRecordDecl>(D->getDeclContext());
731 if (CXXRecordDecl *Parent= dyn_cast<CXXRecordDecl>(Field->getDeclContext())) {
1012 if (Pattern->getDeclContext()->isFunctionOrMethod() &&
1086 Pattern->getDeclContext(),
1368 } else if (InstTemplate->getDeclContext()->isRecord() &&
1539 DC = SemaRef.FindInstantiatedContext(D->getLocation(), D->getDeclContext(),
1562 assert(D->getDeclContext()->isFileContext());
1563 LexicalDC = D->getDeclContext();
1826 D->getDeclContext(),
2666 assert(ClassTemplate->getDeclContext()->isRecord() &&
3575 << 1 << Function->getDeclName() << Function->getDeclContext();
3640 if (CXXRecordDecl *Rec = dyn_cast<CXXRecordDecl>(Function->getDeclContext()))
3749 TemplateDeclInstantiator Instantiator(*this, FromVar->getDeclContext(),
3825 (!OldVar->getPreviousDecl()->getDeclContext()->isDependentContext() ||
3826 OldVar->getPreviousDecl()->getDeclContext()==OldVar->getDeclContext())) {
3834 LookupQualifiedName(Previous, NewVar->getDeclContext(), false);
3840 NewVar->getDeclContext()->makeDeclVisibleInContext(NewVar);
3844 if (NewVar->getDeclContext()->isFunctionOrMethod())
3870 NewVar->getDeclContext()->isFunctionOrMethod() &&
3901 ContextRAII SwitchContext(*this, Var->getDeclContext());
4033 ContextRAII PreviousContext(*this, Var->getDeclContext());
4087 << 2 << Var->getDeclName() << Var->getDeclContext();
4162 ContextRAII PreviousContext(*this, Var->getDeclContext());
4172 Var = cast_or_null<VarDecl>(SubstDecl(Def, Var->getDeclContext(),
4179 TemplateDeclInstantiator Instantiator(*this, Var->getDeclContext(),
4619 DeclContext *ParentDC = D->getDeclContext();
4713 SubstDecl(D, VarSpec->getDeclContext(), TemplateArgs));
4756 if (FD->getFriendObjectKind() && FD->getDeclContext()->isFileContext()){
4776 if (ParentDC != D->getDeclContext()) {
4845 << Context.getTypeDeclType(cast<TypeDecl>(Spec->getDeclContext()));