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

Piotr Zegar via cfe-commits cfe-commits at lists.llvm.org
Sat Mar 30 21:17:18 PDT 2024


================
@@ -0,0 +1,25 @@
+.. title:: clang-tidy - readability-math-missing-parentheses
+
+readability-math-missing-parentheses
+====================================
+
+Check for missing parentheses in mathematical expressions that involve operators
+of different priorities. Parentheses in mathematical expressions clarify the order
----------------
PiotrZSL wrote:

add empty line after "priorities."

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


More information about the cfe-commits mailing list