[PATCH] Fix PR20495: correct inference of the CUDA target for implicit members

Peter Collingbourne peter at pcc.me.uk
Mon Sep 29 13:11:59 PDT 2014


LGTM with nit.

================
Comment at: test/SemaCUDA/implicit-member-target-collision-cxx11.cu:19
@@ +18,3 @@
+
+// expected-note at -3 {{candidate constructor (the implicit default constructor}} not viable
+// expected-note at -4 {{implicit default constructor inferred target collision: call to both __host__ and __device__ members}}
----------------
Should be `) not viable}}` here and elsewhere in this file.

http://reviews.llvm.org/D5199






More information about the cfe-commits mailing list