[libcxx] r299385 - suppress GCC warning about noexcept functions changing mangling
Eric Fiselier via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 3 16:33:25 PDT 2017
Here is a reduced version.
void glibc_function() throw() {}
template <class T> struct Test {
Test() {} // expected-error {{mangled name for 'Test<T>::Test()' will
change in C++17}}
~Test() {} // expected-error {{mangled name for 'Test<T>::~Test()' will
change in C++17}}
};
Test<decltype(&glibc_function)> t;
/Eric
On Mon, Apr 3, 2017 at 5:17 PM, Eric Fiselier <eric at efcs.ca> wrote:
> I'll create a reduced reproducer, but it'll take some time because GCC is
> quite cryptic about the instantiation stack.
>
> if you want many instances within the libc++ build simply revert this
> commit and build with a new GCC.
>
> /Eric
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170403/6b32fefe/attachment-0001.html>
More information about the cfe-commits
mailing list