[all-commits] [llvm/llvm-project] f3ee0a: [OpenCL] opencl-c.h: Add const to get_image_num_sa...

Sven van Haastregt via All-commits all-commits at lists.llvm.org
Tue Apr 19 02:17:02 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f3ee0afc6739bf2990f9d302ff6b28dbb0429e8d
      https://github.com/llvm/llvm-project/commit/f3ee0afc6739bf2990f9d302ff6b28dbb0429e8d
  Author: Sven van Haastregt <sven.vanhaastregt at arm.com>
  Date:   2022-04-19 (Tue, 19 Apr 2022)

  Changed paths:
    M clang/lib/Headers/opencl-c.h

  Log Message:
  -----------
  [OpenCL] opencl-c.h: Add const to get_image_num_samples

Align with the `-fdeclare-opencl-builtins` option and other
get_image_* builtins which have the const attribute.

Differential Revision: https://reviews.llvm.org/D122728




More information about the All-commits mailing list