[clang-tools-extra] [clang-tidy] Improved readability redundant casting with enums (PR #111424)

via cfe-commits cfe-commits at lists.llvm.org
Sat Nov 2 18:47:47 PDT 2024


=?utf-8?q?F=C3=A9lix-Antoine?= Constantin,
=?utf-8?q?F=C3=A9lix-Antoine?= Constantin
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/111424 at github.com>


================
@@ -222,6 +222,12 @@ Changes in existing checks
   by adding the option `UseUpperCaseLiteralSuffix` to select the
   case of the literal suffix in fixes.
 
+- Improved :doc:`readability-redundant-casting
+  <clang-tidy/checks/readability/redundant-casting>` check by fixing
+  false negatives related to ``enum`` when setting `IgnoreTypeAliases`
+  to `true`.
+
+
----------------
EugeneZelenko wrote:

Excessive newline.

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


More information about the cfe-commits mailing list