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

            Bug ID: 49222
           Summary: [C++4OpenCL] Missing address space diagnostic for
                    references in kernel parameters
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: OpenCL
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]

Currently we fail to diagnose address spaces for reference parameters of the
kernel functions

kernel  void goo(int& img) {
}

However, just like in the pointer types the diagnostic should be given in the
object is not in '__global', '__constant' or '__local'

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to