[PATCH] D58060: Fix diagnostic for addr spaces in reference binding

Bevin Hansson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 5 06:31:24 PST 2019


ebevhan added inline comments.


================
Comment at: test/SemaOpenCLCXX/address-space-references.cl:7
+// can't detect this case and therefore fails.
+//int bar(const unsigned int &i);
+
----------------
Is there a reason the declaration is commented out? If it's just a problem with the resolution, wouldn't it still be possible to have the declaration here anyway?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D58060/new/

https://reviews.llvm.org/D58060





More information about the cfe-commits mailing list