HomePhabricator

[OpenCL] Add clang extension for bit-fields.

Authored by Anastasia on May 24 2021, 4:38 AM.

Description

[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