[clang-tools-extra] Add clang-tidy check readability-math-missing-parentheses (PR #84481)

Piotr Zegar via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 8 06:34:43 PST 2024


================
@@ -100,6 +100,12 @@ Improvements to clang-tidy
 New checks
 ^^^^^^^^^^
 
+- New :doc:`readability-math-missing-parentheses
+  <clang-tidy/checks/readability/math-missing-parentheses>` check.
+
+  Checks for mathematical expressions that involve operators
+  of different priorities.
----------------
PiotrZSL wrote:

`Check for missing parentheses in ...`

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


More information about the cfe-commits mailing list