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: [email protected]
          Reporter: [email protected]
                CC: [email protected]

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.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to