DR 1170 PR c++/51213 * semantics.c (perform_access_checks): Add complain parm, return bool. (perform_deferred_access_checks): Likewise. (perform_or_defer_access_check): Likewise. (speculative_access_check): Remove. * call.c (enforce_access): Add complain parm, return bool. * decl.c, friend.c, class.c, init.c, parser.c: Adjust callers. * search.c: Adjust callers. * cp-tree.h (TINFO_RECHECK_ACCESS_P): New macro. (FNDECL_RECHECK_ACCESS_P): New macro. * method.c (synthesized_method_walk): Stop deferring access checks. * pt.c (recheck_decl_substitution): New. (instantiate_template_1): Set and check FNDECL_RECHECK_ACCESS_P. Co-Authored-By: Jason Merrill <jason@redhat.com> From-SVN: r189639
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
comparison_operators | Loading commit data... | |
cons | Loading commit data... | |
make_pair | Loading commit data... | |
requirements | Loading commit data... | |
1.cc | Loading commit data... | |
2.cc | Loading commit data... | |
3.cc | Loading commit data... | |
4.cc | Loading commit data... | |
40925.cc | Loading commit data... | |
44487.cc | Loading commit data... | |
constexpr_get.cc | Loading commit data... | |
get.cc | Loading commit data... | |
moveable.cc | Loading commit data... | |
noexcept_move_assign.cc | Loading commit data... | |
noexcept_swap.cc | Loading commit data... | |
noncopyable.cc | Loading commit data... | |
piecewise.cc | Loading commit data... | |
piecewise2.cc | Loading commit data... | |
swap.cc | Loading commit data... |