[llvm-bugs] [Bug 14117] Mangler closing scope too many times?

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Jun 8 20:53:40 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=14117

Richard Smith <richard-llvm at metafoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |richard-llvm at metafoo.co.uk
         Resolution|---                         |INVALID

--- Comment #2 from Richard Smith <richard-llvm at metafoo.co.uk> ---
This is a GCC bug, per the Itanium ABI spec. See:

http://itanium-cxx-abi.github.io/cxx-abi/abi.html#mangle.unresolved-name

 <unresolved-name> ::= sr <unresolved-type> <base-unresolved-name>
                   ::= [gs] sr <unresolved-qualifier-level>+ E
<base-unresolved-name>

 <unresolved-type> ::= <template-param> [ <template-args> ]
                   ::= <decltype>
                   ::= <substitution>

 <unresolved-qualifier-level> ::= <simple-id>

 <simple-id> ::= <source-name> [ <template-args> ]

Here, 13IsConvertible is an <unresolved-qualifier-level>, not an
<unresolved-type>, so an E must be inserted after the qualifiers even if
there's only one of them.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190609/8221eb52/attachment-0001.html>


More information about the llvm-bugs mailing list