[clang-tools-extra] Add AllowFalseEvaluated flag to clang-tidy noexcept-move-constructor check (PR #126897)

via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 12 08:55:41 PST 2025


================
@@ -106,6 +106,11 @@ Changes in existing checks
   <clang-tidy/checks/bugprone/unsafe-functions>` check to allow specifying
   additional C++ member functions to match.
 
+- Improved :doc:`performance-noexcept-move-constructor
+  <clang-tidy/checks/performance/noexcept-move-constructor>`. Check allows
+  move-constructors with `noexcept(expr)`, even if `expr` evaluates to `false`,
----------------
EugeneZelenko wrote:

```suggestion
  move-constructors with ``noexcept(expr)``, even if ``expr`` evaluates to ``false``,
```

Language constructs.

https://github.com/llvm/llvm-project/pull/126897


More information about the cfe-commits mailing list