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: unassignedclangb...@nondot.org
          Reporter: anastasia.stul...@arm.com
                CC: anastasia.stul...@arm.com, llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to