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: unassignedclangb...@nondot.org
          Reporter: anastasia.stul...@arm.com
                CC: anastasia.stul...@arm.com, llvm-bugs@lists.llvm.org

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
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to