http://llvm.org/bugs/show_bug.cgi?id=22379

            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: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to