[PATCH] D88345: [CUDA] Allow local `static const {__constant__, __device__}` variables.

Artem Belevich via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 1 11:28:43 PDT 2020


tra updated this revision to Diff 295635.
tra retitled this revision from "[CUDA] Allow local `static {__constant__, __device__}` variables." to "[CUDA] Allow local `static const {__constant__, __device__}` variables.".
tra edited the summary of this revision.
tra added a comment.
Herald added a reviewer: aaron.ballman.

Further relaxed application of attributes on local static variables.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D88345

Files:
  clang/include/clang/Basic/DiagnosticSemaKinds.td
  clang/lib/Sema/SemaDecl.cpp
  clang/lib/Sema/SemaDeclAttr.cpp
  clang/test/CodeGenCUDA/static-device-var-no-rdc.cu
  clang/test/SemaCUDA/device-var-init.cu

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88345.295635.patch
Type: text/x-patch
Size: 20003 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201001/1bbd4400/attachment-0001.bin>


More information about the cfe-commits mailing list