OSDN Git Service

* semantics.c (speculative_access_check): New.
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Nov 2010 15:52:18 +0000 (15:52 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Nov 2010 15:52:18 +0000 (15:52 +0000)
commit8d96fd471576ebdc7363ee828f7ece34088faa3a
tree221d644800428ec7dde33449c48ccf4fbd9b0e14
parent805e3e15bb9db8d0946fa36ac619bffc3af8dac8
* semantics.c (speculative_access_check): New.
* cp-tree.h: Declare it.
* call.c (build_over_call): Use it.
* class.c (type_has_constexpr_default_constructor): Use locate_ctor.
* method.c (locate_ctor): Use push/pop_deferring_access_checks.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166317 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/class.c
gcc/cp/cp-tree.h
gcc/cp/method.c
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/constexpr-access.C [new file with mode: 0644]