[LLVMbugs] [Bug 16612] New: Type diffing should highlight reference/pointer-ness

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jul 12 14:03:12 PDT 2013


            Bug ID: 16612
           Summary: Type diffing should highlight reference/pointer-ness
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: dblaikie at gmail.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu,
                    rtrieu at google.com
    Classification: Unclassified


template<typename T>
class foo {

void func(foo<int>);

int main() {
  foo<int*> f;

(or similarly, with foo<int&>) template type diffing highlights the whole of
"int*" and "int" as being different - it'd be useful if it drew attention to
the "*" being the important difference. With longer/larger types it can be
difficult to notice that it's just a matter of passing a pointer versus passing
a value.

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/20130712/3af58433/attachment.html>

More information about the llvm-bugs mailing list