Lines Matching refs:ParentDC
3264 /// - True, found a declaration inside \c ParentDC.
3265 /// - False, found declarations only outside \c ParentDC and it is not possible
3267 /// - Empty optional value, found no declarations or only outside \c ParentDC,
3276 IsTypeDeclaredInsideVisitor(const FunctionDecl *ParentDC)
3277 : ParentDC(ParentDC) {}
3286 T.getSingleStepDesugaredType(ParentDC->getParentASTContext());
3291 DsT = T.getSingleStepDesugaredType(ParentDC->getParentASTContext());
3301 return isAncestorDeclContextOf(ParentDC, T->getDecl());
3315 return isAncestorDeclContextOf(ParentDC, TD);
3320 isAncestorDeclContextOf(ParentDC, T->getFoundDecl()))
3336 if (T->getSizeExpr() && isAncestorDeclContextOf(ParentDC, T->getSizeExpr()))
3358 const DeclContext *const ParentDC;
3369 return isAncestorDeclContextOf(ParentDC, Arg.getAsExpr());
3372 return isAncestorDeclContextOf(ParentDC, Arg.getAsDecl());
3383 // A template passed as argument can be not in ParentDC.
3387 // A template passed as argument can be not in ParentDC.