[all-commits] [llvm/llvm-project] 237c69: [OpenCL] Add clang extension for bit-fields.

Anastasia Stulova via All-commits all-commits at lists.llvm.org
Mon May 24 04:43:01 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 237c6924bd46ec0e33da71f9616caf9bf9965b23
      https://github.com/llvm/llvm-project/commit/237c6924bd46ec0e33da71f9616caf9bf9965b23
  Author: Anastasia Stulova <anastasia.stulova at arm.com>
  Date:   2021-05-24 (Mon, 24 May 2021)

  Changed paths:
    M clang/docs/LanguageExtensions.rst
    M clang/include/clang/Basic/OpenCLExtensions.def
    M clang/lib/Basic/Targets/AMDGPU.h
    M clang/lib/Basic/Targets/NVPTX.h
    M clang/lib/Sema/SemaDecl.cpp
    M clang/test/Misc/amdgcn.languageOptsOpenCL.cl
    M clang/test/Misc/nvptx.languageOptsOpenCL.cl
    M clang/test/Misc/r600.languageOptsOpenCL.cl
    M clang/test/SemaOpenCL/unsupported.cl

  Log Message:
  -----------
  [OpenCL] Add clang extension for bit-fields.

Allow use of bit-fields as a clang extension
in OpenCL. The extension can be enabled using
pragma directives.

This fixes PR45339!

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




More information about the All-commits mailing list