diff options
author | Jason Merrill <jason@redhat.com> | 2006-07-20 12:02:57 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2006-07-20 12:02:57 -0400 |
commit | b70f0f48c716c8571723ee667f9712fd7e097490 (patch) | |
tree | 2668380ba111a9cfdf1beb690c74127fc5593651 /libjava/classpath/include/jvmti.h | |
parent | e67b81d14078e85aff856cd25679a4f349e9c3b4 (diff) | |
download | gcc-b70f0f48c716c8571723ee667f9712fd7e097490.zip gcc-b70f0f48c716c8571723ee667f9712fd7e097490.tar.gz gcc-b70f0f48c716c8571723ee667f9712fd7e097490.tar.bz2 |
re PR c++/28407 (Issue with anonymous namespace)
PR c++/28407
* cp/decl.c (grokvardecl): Set DECL_THIS_STATIC on file-scope
const variables with implicit internal linkage.
* cp/tree.c (decl_linkage): Only return lk_external if it's set.
PR c++/28409
* cp/decl2.c (constrain_visibility): Ignore the anonymous namespace
for extern C decls.
(VISIBILITY_STATIC): Rename to VISIBILITY_ANON.
Don't override explicit visibility.
* cp/decl2.c (constrain_visibility): Remove specified and reason
parameters. Don't touch decls that already have explicit visibility.
(determine_visibility): Do copy DECL_VISIBILITY_SPECIFIED from
template.
(determine_visibility_from_class): Reverse sense of
DECL_VISIBILITY_SPECIFIED test for target-specific visibility rules.
(constrain_class_visibility): Only complain about member visibility
if the member type is another class. Don't change visibility of the
current class.
* tree.c (remove_attribute): New fn.
* tree.h: Declare it.
From-SVN: r115622
Diffstat (limited to 'libjava/classpath/include/jvmti.h')
0 files changed, 0 insertions, 0 deletions