[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 09:05:31 PST 2025


================
@@ -106,15 +106,15 @@ 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`,
-  if the `AllowFalseEvaluated` flag is specified.
-
 - Improved :doc:`misc-redundant-expression
   <clang-tidy/checks/misc/redundant-expression>` check by providing additional
   examples and fixing some macro related false positives.
 
+- 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``,
+  if the ``AllowFalseEvaluated`` flag is specified.
----------------
EugeneZelenko wrote:

```suggestion
  if the `AllowFalseEvaluated` flag is specified.
```

Option name.

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


More information about the cfe-commits mailing list