[PATCH] D125723: [MSVC] Add initial support for MSVC pragma optimize

Stephen Long via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 15 11:57:43 PDT 2022


steplong added inline comments.


================
Comment at: clang/docs/LanguageExtensions.rst:3800
+``g``, ``t``, and ``y``. Clang's current implementation of the pragma behaves in
+the same way as the clang pragma. All functions between ``off`` and ``on`` will
+be decorated with the ``optnone`` attribute.
----------------
xbolva00 wrote:
> as the clang pragma?
The clang pragma `#pragma clang optimize off`. It's mentioned in this section, but hmm maybe I can make it more clear


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D125723



More information about the cfe-commits mailing list