[LLVMbugs] [Bug 22379] New: clang uses "type-parameter-0-0" in its diagnostics

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jan 28 19:23:31 PST 2015


            Bug ID: 22379
           Summary: clang uses "type-parameter-0-0" in its diagnostics
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: nicolasweber at gmx.de
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

template <typename> struct A {
template <typename T> int A<T>::Z;

$ bin/clang -c test.cc
test.cc:4:33: error: no member named 'Z' in 'A<type-parameter-0-0>'
template <typename T> int A<T>::Z;
1 error generated.

Why not "in 'A<int>'"? As is, the error looks unnecessarily mysterious.

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/20150129/a101b7d7/attachment.html>

More information about the llvm-bugs mailing list