[PATCH] D51302: [OpenCL] Relax diagnostics on OpenCL access qualifiers

Alexey Sachkov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 27 07:07:40 PDT 2018


AlexeySachkov created this revision.
AlexeySachkov added reviewers: Anastasia, yaxunl.

Emit warning for multiple access qualifiers if they do not conflict.

Patch by Alexey Bader


Repository:
  rC Clang

https://reviews.llvm.org/D51302

Files:
  lib/Sema/SemaDeclAttr.cpp
  lib/Sema/SemaType.cpp
  test/SemaOpenCL/access-qualifier.cl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51302.162670.patch
Type: text/x-patch
Size: 6258 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180827/e8e9b136/attachment.bin>


More information about the cfe-commits mailing list