[PATCH] D101843: [OpenCL] Add clang extension for bitfields

Anastasia Stulova via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 12 05:43:19 PDT 2021


Anastasia added inline comments.


================
Comment at: clang/lib/Sema/SemaDecl.cpp:16798
     }
     // OpenCL v1.2 s6.9.c: bitfields are not supported.
+    if (BitWidth && !getOpenCLOptions().isAvailableOption(
----------------
svenvh wrote:
> 
Slightly modified to avoid repeating the extension name that can be read from the source code.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D101843/new/

https://reviews.llvm.org/D101843



More information about the cfe-commits mailing list