aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/java-opcodes.h
diff options
context:
space:
mode:
authorPaolo Carlini <paolo.carlini@oracle.com>2010-11-06 00:11:57 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2010-11-06 00:11:57 +0000
commitbe9d3d73425dc366fe8c1456a3503d6c118618a0 (patch)
tree68897208905b15c8ebef7fedfd4db48f0bbfa56e /gcc/java/java-opcodes.h
parenta75de6923043978eb7d96d79a28ba7becea353e9 (diff)
downloadgcc-be9d3d73425dc366fe8c1456a3503d6c118618a0.zip
gcc-be9d3d73425dc366fe8c1456a3503d6c118618a0.tar.gz
gcc-be9d3d73425dc366fe8c1456a3503d6c118618a0.tar.bz2
shared_ptr.h (shared_ptr<>::__shared_ptr(), [...]): Add constexpr specifier.
2010-11-05 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/shared_ptr.h (shared_ptr<>::__shared_ptr(), shared_ptr<>::shared_ptr(nullptr_t), weak_ptr<>::weak_ptr(), enable_shared_from_this::enable_shared_from_this()): Add constexpr specifier. * include/bits/shared_ptr_base.h (__shared_count::__shared_count(), __shared_count::__shared_count(), __shared_ptr<>::__shared_ptr(), __shared_ptr<>::__shared_ptr(nullptr_t), __weak_ptr<>::__weak_ptr(), __enable_shared_from_this::__enable_shared_from_this()): Likewise. * include/bits/unique_ptr.h (default_delete, unique_ptr<>::unique_ptr(), unique_ptr<>::unique_ptr(nullptr_t)): Likewise. * testsuite/20_util/default_delete/cons/constexpr.cc: Do not xfail. * testsuite/20_util/shared_ptr/cons/constexpr.cc: Remove, the test cannot work for a non-literal type like std::shared_ptr. * testsuite/20_util/weak_ptr/cons/constexpr.cc: Likewise. * testsuite/util/testsuite_common_types.h: Add comments. * testsuite/20_util/unique_ptr/cons/constexpr.cc: Likewise. * testsuite/20_util/shared_ptr/cons/43820.cc: Adjust dg-error line numbers. * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Likewise. From-SVN: r166386
Diffstat (limited to 'gcc/java/java-opcodes.h')
0 files changed, 0 insertions, 0 deletions