Anastasia added inline comments.
================
Comment at: test/SemaOpenCL/extension-begin.cl:43
g(0); // expected-error {{no matching function for call to 'g'}}
- // expected-note@-26 {{candidate unavailable as it requires OpenCL
extension 'my_ext' to be disabled}}
- // expected-note@-22 {{candidate function not viable: requires 0
arguments, but 1 was provided}}
+ // [email protected]:18 {{candidate unavailable as it
requires OpenCL extension 'my_ext' to be disabled}}
+ // [email protected]:23 {{candidate function not viable:
requires 0 arguments, but 1 was provided}}
----------------
AlexeySachkov wrote:
> Anastasia wrote:
> > Is this a typo? Should this be 'enabled' instead of 'disabled'?
> I left the diagnostic message the same as it was. Looks like it is a bug in
> the diagnostic. I can try to fix it, but I would like to do it in a separate
> patch
Sure! Thanks!
https://reviews.llvm.org/D53200
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits