[llvm-bugs] [Bug 43295] New: Pretty print __private address space

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Sep 12 06:55:11 PDT 2019


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

            Bug ID: 43295
           Summary: Pretty print __private address space
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: OpenCL
          Assignee: unassignedclangbugs at nondot.org
          Reporter: anastasia.stulova at arm.com
                CC: anastasia.stulova at arm.com, llvm-bugs at lists.llvm.org

__private address space is not pretty printed by Clang and since default (no
addr space) is also not printed some diagnostics appear to be confusing.

Example:
  template<typename T> void foo(T* par1, T par2){}

  void bar(){
    int arr[10];
    foo(&arr[0], arr[0]);
  }

note: candidate template ignored: deduced conflicting types for parameter 'T'
('int' vs. 'int')

-- 
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/20190912/71b3a72c/attachment.html>


More information about the llvm-bugs mailing list