[PATCH] D18380: [CUDA] Implement -fcuda-relaxed-constexpr, and enable it by default.

Justin Lebar via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 23 17:12:06 PDT 2016


jlebar updated this revision to Diff 51495.
jlebar added a comment.

Add check for __global__ constexpr functions.


http://reviews.llvm.org/D18380

Files:
  include/clang/Basic/LangOptions.def
  include/clang/Driver/CC1Options.td
  lib/Frontend/CompilerInvocation.cpp
  lib/Sema/SemaDecl.cpp
  lib/Sema/SemaOverload.cpp
  test/SemaCUDA/function-overload.cu
  test/SemaCUDA/host-device-constexpr.cu
  test/SemaCUDA/no-host-device-constexpr.cu

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18380.51495.patch
Type: text/x-patch
Size: 16052 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160324/3afc4eb9/attachment-0001.bin>


More information about the cfe-commits mailing list