diff options
author | Nathan Sidwell <nathan@acm.org> | 2022-03-02 19:42:23 -0500 |
---|---|---|
committer | Nathan Sidwell <nathan@acm.org> | 2022-03-04 14:59:28 -0500 |
commit | 591d2130348b15ec9158bb69a7fd9442bb81fa3a (patch) | |
tree | 4a89a8904660c32c058face949c8068d47d32f03 /libcpp | |
parent | 14dfbb53594e164fe222476523a68039a8bd5252 (diff) | |
download | gcc-591d2130348b15ec9158bb69a7fd9442bb81fa3a.zip gcc-591d2130348b15ec9158bb69a7fd9442bb81fa3a.tar.gz gcc-591d2130348b15ec9158bb69a7fd9442bb81fa3a.tar.bz2 |
c++: Standard mangling abbreviations & modules
The std manglings for things like std::string should not apply if
we're not in the global module.
gcc/cp/
* mangle.cc (is_std_substitution): Check global module.
(is_std_substitution_char): Return bool.
gcc/testsuite/
* g++.dg/modules/std-subst-2.C: New.
* g++.dg/modules/std-subst-3.C: New.
* g++.dg/modules/std-subst-4_a.C: New.
* g++.dg/modules/std-subst-4_b.C: New.
* g++.dg/modules/std-subst-4_c.C: New.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions