[PATCH] D153423: [clang-tidy] Allow explicit throwing in bugprone-exception-escape for special functions

Piotr Zegar via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 23 13:17:58 PDT 2023


PiotrZSL marked 4 inline comments as done.
PiotrZSL added inline comments.


================
Comment at: clang-tools-extra/docs/clang-tidy/checks/bugprone/exception-escape.rst:14
 * ``swap()`` functions
-* Functions marked with ``throw()`` or ``noexcept``
+* Functions marked with ``throw()``, ``noexcept``, ``noexcept(true)``
 * Other functions given as option
----------------
isuckatcs wrote:
> Why remove `noexcept(true)`?
You right, this not need to be changed.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D153423



More information about the cfe-commits mailing list