[PATCH] Fix for PR20886 - enforce CUDA target match in method calls

Eli Bendersky eliben at google.com
Fri Sep 19 15:35:50 PDT 2014


Done, PTAL

================
Comment at: test/SemaCUDA/method-target.cu:21
@@ +20,3 @@
+  void method(int) {} // expected-note {{candidate function not viable}}
+  void method(float) {} // expected-note {{candidate function not viable}}
+};
----------------
pcc wrote:
> Can we check for a more specific error message here?
Done

http://reviews.llvm.org/D5298






More information about the cfe-commits mailing list