Searched refs:type_scope (Results 1 – 2 of 2) sorted by relevance
11565 tree type_scope = iter->context; in perform_typedefs_access_check() local11567 if (!type_decl || !type_scope || !CLASS_TYPE_P (type_scope)) in perform_typedefs_access_check()11572 if (uses_template_parms (type_scope)) in perform_typedefs_access_check()11573 type_scope = tsubst (type_scope, targs, tf_error, NULL_TREE); in perform_typedefs_access_check()11578 perform_or_defer_access_check (TYPE_BINFO (type_scope), in perform_typedefs_access_check()
11934 tree type_scope = TREE_TYPE (chk->binfo); in perform_instantiation_time_access_checks() local11936 if (uses_template_parms (type_scope)) in perform_instantiation_time_access_checks()11937 type_scope = tsubst (type_scope, targs, tf_error, NULL_TREE); in perform_instantiation_time_access_checks()11942 perform_or_defer_access_check (TYPE_BINFO (type_scope), in perform_instantiation_time_access_checks()