svenvh added a comment. Thanks for working on this!
================ Comment at: clang/docs/OpenCLSupport.rst:118 + +In addition to regular header includes with builtin types/functions using +``-finclude-default-header`` explained in :doc:`UsersManual` clang ---------------- ================ Comment at: clang/docs/OpenCLSupport.rst:119 +In addition to regular header includes with builtin types/functions using +``-finclude-default-header`` explained in :doc:`UsersManual` clang +support fast mechanism to declare builtin functions with ---------------- ================ Comment at: clang/docs/OpenCLSupport.rst:120 +``-finclude-default-header`` explained in :doc:`UsersManual` clang +support fast mechanism to declare builtin functions with +``-fdeclare-opencl-builtins``. This does not declare the builtin types and ---------------- ================ Comment at: clang/docs/OpenCLSupport.rst:132 +Note that this is a frontend-only flag and therefore it requires the use of +flags that forward options to the frontend, e.g. ``-cc1`` or ``-Xclang``. + ---------------- We should also mention that this is (still) an experimental flag, and that behavior of the flag may change in the future. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D95038/new/ https://reviews.llvm.org/D95038 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits