Re: [PATCH] D12834: add gcc abi_tag support

2016-01-15 Thread Stefan Bühler via cfe-commits
stbuehler updated this revision to Diff 44973. stbuehler added a comment. integrate patch by Stephan Bergmann : - Fix handling of abi_tag attribute on namespaces to match GCC behavior: - Forbid the attribute on unnamed namespaces. (GCC merely produces a warning instead of an error for unnamed

Re: [PATCH] D12834: add gcc abi_tag support

2016-01-15 Thread Stefan Bühler via cfe-commits
stbuehler updated this revision to Diff 44972. stbuehler marked an inline comment as done. stbuehler added a comment. - disable dervied abi tags in some recursions to fix infinite recursions - don't emit abi tags for NestedNameSpecifier::Identifier Repository: rL LLVM http://reviews.llvm.org/

Re: [PATCH] D12834: add gcc abi_tag support

2015-09-27 Thread Stefan Bühler via cfe-commits
stbuehler added a comment. Just for the record: substitution doesn't work yet (it should add available tags from the substitution, but doesn't). This example shows the difference: my patch mangles `T::F()` as `N::Name(N::__test::Result)::T::F[abi:test](N::__test::Result)`, but actually shouldn

Re: Bug 23529: Add support for gcc's attribute abi_tag (needed for compatibility with gcc 5's libstdc++)

2015-09-27 Thread Stefan Bühler via cfe-commits
5 12:36:19 -0700 David Majnemer wrote: > Would you mind sticking abi-tag.patch in phabricator: > http://llvm.org/docs/Phabricator.html ? > Your patch is big enough that it would make it a little easier for me > to review. > > On Sat, Sep 12, 2015 at 7:12 AM, Stefan Bühler via

Bug 23529: Add support for gcc's attribute abi_tag (needed for compatibility with gcc 5's libstdc++)

2015-09-12 Thread Stefan Bühler via cfe-commits
Hi all, I've been working on #23529. The abi tag mangling implemented by gcc is horrible, but I think my patch covers most of the incompatibilities with gcc5. There might be some bugs with substitutions, although I have to come up with a test case for that to see what gcc does... Test cases com