[PATCH] D64418: [Docs][OpenCL] Documentation of C++ for OpenCL mode

Anastasia Stulova via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 16 04:47:05 PDT 2019


Anastasia added inline comments.


================
Comment at: docs/UsersManual.rst:2771
+
+There are only a few restrictions on allowed C++ features. For detailed information
+please refer to documentation on Extensions (:doc:`LanguageExtensions`).
----------------
svenvh wrote:
> Anastasia wrote:
> > kpet wrote:
> > > Everything is relative. I would keep this 100% factual: "there are restrictions". This is not a sales pitch :).
> > I think it's fair to say few restrictions because the majority of C++ just works in OpenCL.
> I agree with @kpet and also prefer "There are restrictions" instead of an unquantified statement.
Ok, I don't understand what value does it bring to make information less specific but potentially it's not important enough to continue the argument. The idea of this sentence was indeed to point out that the mode is just very close to C++ with very few restrictions. This isn't a program so it can't have a formal definition for every statement. :P


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

https://reviews.llvm.org/D64418





More information about the cfe-commits mailing list