svenvh added a comment.

It probably makes sense to update `clang/docs/UsersManual.rst` as part of this 
change.  In particular the following sentence is no longer true after this 
patch: "By default the OpenCL headers are not loaded and therefore certain 
builtin types and most of builtin functions are not declared."



================
Comment at: clang/include/clang/Driver/Options.td:822
+def cl_no_stdinc : Flag<["-"], "cl-no-stdinc">, Group<opencl_Group>,
+  HelpText<"OpenCL only. Disables all standard includes containing non-native 
to compiler types and functions from OpenCL C.">;
 def client__name : JoinedOrSeparate<["-"], "client_name">;
----------------
Typo.

Also, this suggests the option is limited to OpenCL C, is that your intent?


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

https://reviews.llvm.org/D96515

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to