diff options
| author | Vitaly Buka <vitalybuka@google.com> | 2022-04-16 00:18:48 -0700 |
|---|---|---|
| committer | Vitaly Buka <vitalybuka@google.com> | 2022-04-16 00:27:51 -0700 |
| commit | e75d8b70370435b0ad10388afba0df45fcf9bfcc (patch) | |
| tree | 5a0fd5f08c473f85aa87e4b38e83a9418d993eea /clang/docs/CommandGuide | |
| parent | 709868707ca76002f3dc858e2300d3ca13eaf409 (diff) | |
Revert "Treat `std::move`, `forward`, and `move_if_noexcept` as builtins."
Revert "Extend support for std::move etc to also cover std::as_const and"
Revert "Update test to handle opaque pointers flag flip."
It crashes on libcxx tests https://lab.llvm.org/buildbot/#/builders/85/builds/8174
This reverts commit fc3090109643af8d2da9822d0f99c84742b9c877.
This reverts commit a571f82a50416b767fd3cce0fb5027bb5dfec58c.
This reverts commit 64c045e25b8471bbb572bd29159c294a82a86a25.
Diffstat (limited to 'clang/docs/CommandGuide')
| -rw-r--r-- | clang/docs/CommandGuide/clang.rst | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/clang/docs/CommandGuide/clang.rst b/clang/docs/CommandGuide/clang.rst index 658a30458043..aec62789a43e 100644 --- a/clang/docs/CommandGuide/clang.rst +++ b/clang/docs/CommandGuide/clang.rst @@ -252,24 +252,8 @@ Language Selection and Mode Options .. option:: -fno-builtin - Disable special handling and optimizations of well-known library functions, - like :c:func:`strlen` and :c:func:`malloc`. - -.. option:: -fno-builtin-<function> - - Disable special handling and optimizations for the specific library function. - For example, ``-fno-builtin-strlen`` removes any special handling for the - :c:func:`strlen` library function. - -.. option:: -fno-builtin-std-<function> - - Disable special handling and optimizations for the specific C++ standard - library function in namespace ``std``. For example, - ``-fno-builtin-std-move_if_noexcept`` removes any special handling for the - :cpp:func:`std::move_if_noexcept` library function. - - For C standard library functions that the C++ standard library also provides - in namespace ``std``, use :option:`-fno-builtin-\<function\>` instead. + Disable special handling and optimizations of builtin functions like + :c:func:`strlen` and :c:func:`malloc`. .. option:: -fmath-errno |
