[PATCH] D103108: [CUDA][HIP] Promote const variables to constant

Yaxun Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 26 20:32:43 PDT 2021


yaxunl updated this revision to Diff 348149.
yaxunl marked an inline comment as done.
yaxunl added a comment.

fix test


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

https://reviews.llvm.org/D103108

Files:
  clang/include/clang/Basic/DiagnosticSemaKinds.td
  clang/lib/Sema/SemaCUDA.cpp
  clang/lib/Sema/SemaDecl.cpp
  clang/lib/Sema/SemaExpr.cpp
  clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
  clang/test/CodeGenCUDA/device-use-host-var.cu
  clang/test/SemaCUDA/device-use-host-var.cu
  clang/test/SemaCUDA/static-device-var.cu

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103108.348149.patch
Type: text/x-patch
Size: 21675 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210527/1f500a9f/attachment-0001.bin>


More information about the cfe-commits mailing list