Home | History | Annotate | Download | only in Sema

Lines Matching refs:getDeclContext

206   CXXRecordDecl *RD = dyn_cast<CXXRecordDecl>(D->getDeclContext());
516 if (CXXRecordDecl *Parent= dyn_cast<CXXRecordDecl>(Field->getDeclContext())) {
680 if (D->getDeclContext()->isFunctionOrMethod())
691 (!D->getDeclContext()->isFunctionOrMethod() || D->isCompleteDefinition()))
746 if (Pattern->getDeclContext()->isFunctionOrMethod() &&
815 Pattern->getDeclContext(),
1020 } else if (InstTemplate->getDeclContext()->isRecord() &&
1066 if (Record->getDeclContext()->getRedeclContext()->isFunctionOrMethod())
1151 if (D->getDeclContext()->isFunctionOrMethod())
1159 DC = SemaRef.FindInstantiatedContext(D->getLocation(), D->getDeclContext(),
1178 assert(D->getDeclContext()->isFileContext());
1179 LexicalDC = D->getDeclContext();
1498 D->getDeclContext(),
2793 << 1 << Function->getDeclName() << Function->getDeclContext();
2845 if (CXXRecordDecl *Rec = dyn_cast<CXXRecordDecl>(Function->getDeclContext()))
2953 << 2 << Var->getDeclName() << Var->getDeclContext();
3015 ContextRAII previousContext(*this, Var->getDeclContext());
3019 Var = cast_or_null<VarDecl>(SubstDecl(Def, Var->getDeclContext(),
3442 DeclContext *ParentDC = D->getDeclContext();
3513 if (FD->getFriendObjectKind() && FD->getDeclContext()->isFileContext()){
3533 if (ParentDC != D->getDeclContext()) {
3602 << Context.getTypeDeclType(cast<TypeDecl>(Spec->getDeclContext()));