[PATCH] D18386: [CUDA] Merge most of CodeGenCUDA/function-overload.cu into SemaCUDA/function-overload.cu.

Justin Lebar via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 22 20:54:05 PDT 2016


jlebar created this revision.
jlebar added a reviewer: tra.
jlebar added a subscriber: cfe-commits.

Previously we were using the codegen test to ensure that we choose the
right overload.  But we can do this within sema, with a bit of
cleverness.

I left the constructor/destructor checks in CodeGen, because these
overloads (particularly on the destructors) are hard to check in Sema.

http://reviews.llvm.org/D18386

Files:
  test/CodeGenCUDA/function-overload.cu
  test/SemaCUDA/function-overload.cu

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18386.51383.patch
Type: text/x-patch
Size: 27910 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160323/93e9741d/attachment-0001.bin>


More information about the cfe-commits mailing list