]> granicus.if.org Git - clang/commit
[CUDA] Merge most of CodeGenCUDA/function-overload.cu into SemaCUDA/function-overload.cu.
authorJustin Lebar <jlebar@google.com>
Wed, 23 Mar 2016 22:42:30 +0000 (22:42 +0000)
committerJustin Lebar <jlebar@google.com>
Wed, 23 Mar 2016 22:42:30 +0000 (22:42 +0000)
commit10fef645a6f8c9c73683fd8f6b95fd4197253e05
tree495cea231dde561a96773c368ec5e14cea33cdcc
parent812c92bb4816274f3329cccf2ae0037f408992a2
[CUDA] Merge most of CodeGenCUDA/function-overload.cu into SemaCUDA/function-overload.cu.

Summary:
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.

Reviewers: tra

Subscribers: cfe-commits

Differential Revision: http://reviews.llvm.org/D18386

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@264207 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGenCUDA/function-overload.cu
test/SemaCUDA/function-overload.cu