[PATCH] D49931: [CUDA][HIP] Allow function-scope static const variable

Yaxun Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 27 12:40:19 PDT 2018


yaxunl updated this revision to Diff 157740.
yaxunl edited the summary of this revision.
yaxunl added a comment.

update diagnostic message.


https://reviews.llvm.org/D49931

Files:
  include/clang/Basic/DiagnosticSemaKinds.td
  lib/CodeGen/CodeGenModule.cpp
  lib/Sema/SemaDecl.cpp
  test/CodeGenCUDA/device-var-init.cu
  test/SemaCUDA/device-var-init.cu

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49931.157740.patch
Type: text/x-patch
Size: 5220 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180727/3798c4ac/attachment.bin>


More information about the cfe-commits mailing list