Lines Matching defs:ParentDC
3520 /// - True, found a declaration inside \c ParentDC.
3521 /// - False, found declarations only outside \c ParentDC and it is not possible
3523 /// - Empty optional value, found no declarations or only outside \c ParentDC,
3532 IsTypeDeclaredInsideVisitor(const FunctionDecl *ParentDC)
3533 : ParentDC(ParentDC) {}
3542 T.getSingleStepDesugaredType(ParentDC->getParentASTContext());
3547 DsT = T.getSingleStepDesugaredType(ParentDC->getParentASTContext());
3557 return isAncestorDeclContextOf(ParentDC, T->getDecl());
3571 return isAncestorDeclContextOf(ParentDC, TD);
3576 isAncestorDeclContextOf(ParentDC, T->getFoundDecl()))
3593 // The "associated declaration" can be the same as ParentDC.
3594 if (isAncestorDeclContextOf(ParentDC, T->getAssociatedDecl()))
3600 if (T->getSizeExpr() && isAncestorDeclContextOf(ParentDC, T->getSizeExpr()))
3622 const DeclContext *const ParentDC;
3633 return isAncestorDeclContextOf(ParentDC, Arg.getAsExpr());
3636 return isAncestorDeclContextOf(ParentDC, Arg.getAsDecl());
3649 // A template passed as argument can be not in ParentDC.
3653 // A template passed as argument can be not in ParentDC.