[all-commits] [llvm/llvm-project] 3a29ac: [OpenCL] Fix missing const attributes for get_imag...

Sven van Haastregt via All-commits all-commits at lists.llvm.org
Thu Feb 11 05:07:20 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3a29ac2a61f78aae049a46369203757ece315e23
      https://github.com/llvm/llvm-project/commit/3a29ac2a61f78aae049a46369203757ece315e23
  Author: Sven van Haastregt <sven.vanhaastregt at arm.com>
  Date:   2021-02-11 (Thu, 11 Feb 2021)

  Changed paths:
    M clang/lib/Sema/OpenCLBuiltins.td

  Log Message:
  -----------
  [OpenCL] Fix missing const attributes for get_image_ builtins

Various get_image builtin function declarations did not have the const
attribute.  Bring the const attributes of `-fdeclare-opencl-builtins`
more in sync with `opencl-c.h`.




More information about the All-commits mailing list