[llvm-bugs] [Bug 52512] New: llvm-c++filt unable to demangle void f<decltype(nullptr), (decltype(nullptr))0>()

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Nov 15 10:45:15 PST 2021


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

            Bug ID: 52512
           Summary: llvm-c++filt unable to demangle void
                    f<decltype(nullptr), (decltype(nullptr))0>()
           Product: tools
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: llvm-c++filt
          Assignee: unassignedbugs at nondot.org
          Reporter: gbreynoo at gmail.com
                CC: llvm-bugs at lists.llvm.org

When attempting to demangle "_Z1fIDnLDn0EEvv" llvm-cxxfilt does not demangle
the input. According to GCC we should see similar to "void f<decltype(nullptr),
(decltype(nullptr))0>()"

This was found by compiling the following:

template<class T, T t> void f() {}
typedef decltype(nullptr) nullptr_t;
template <> void f<nullptr_t, nullptr>() {}

-- 
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/20211115/3c5e8b66/attachment.html>


More information about the llvm-bugs mailing list