Lines Matching defs:ParentDC
3577 /// - True, found a declaration inside \c ParentDC.
3578 /// - False, found declarations only outside \c ParentDC and it is not possible
3580 /// - Empty optional value, found no declarations or only outside \c ParentDC,
3589 IsTypeDeclaredInsideVisitor(const FunctionDecl *ParentDC)
3590 : ParentDC(ParentDC) {}
3599 T.getSingleStepDesugaredType(ParentDC->getParentASTContext());
3604 DsT = T.getSingleStepDesugaredType(ParentDC->getParentASTContext());
3614 return isAncestorDeclContextOf(ParentDC, T->getDecl());
3628 return isAncestorDeclContextOf(ParentDC, TD);
3633 isAncestorDeclContextOf(ParentDC, T->getFoundDecl()))
3654 // The "associated declaration" can be the same as ParentDC.
3655 if (isAncestorDeclContextOf(ParentDC, T->getAssociatedDecl()))
3661 if (T->getSizeExpr() && isAncestorDeclContextOf(ParentDC, T->getSizeExpr()))
3683 const DeclContext *const ParentDC;
3694 return isAncestorDeclContextOf(ParentDC, Arg.getAsExpr());
3697 return isAncestorDeclContextOf(ParentDC, Arg.getAsDecl());
3710 // A template passed as argument can be not in ParentDC.
3714 // A template passed as argument can be not in ParentDC.