[all-commits] [llvm/llvm-project] 8dc7db: [clang-tidy] Add clang-tidy check readability-math...
Bhuminjay Soni via All-commits
all-commits at lists.llvm.org
Thu Apr 25 10:20:21 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8dc7db7a24633f55ef28f2ab4b379386a34505f8
https://github.com/llvm/llvm-project/commit/8dc7db7a24633f55ef28f2ab4b379386a34505f8
Author: Bhuminjay Soni <Soni5Happy at gmail.com>
Date: 2024-04-25 (Thu, 25 Apr 2024)
Changed paths:
M clang-tools-extra/clang-tidy/readability/CMakeLists.txt
A clang-tools-extra/clang-tidy/readability/MathMissingParenthesesCheck.cpp
A clang-tools-extra/clang-tidy/readability/MathMissingParenthesesCheck.h
M clang-tools-extra/clang-tidy/readability/ReadabilityTidyModule.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/docs/clang-tidy/checks/list.rst
A clang-tools-extra/docs/clang-tidy/checks/readability/math-missing-parentheses.rst
A clang-tools-extra/test/clang-tidy/checkers/readability/math-missing-parentheses.cpp
Log Message:
-----------
[clang-tidy] Add clang-tidy check readability-math-missing-parentheses (#84481)
This commit closes #80850 where author suggests adding a
readability check to detect missing parentheses around mathematical
expressions when operators of different priorities are used.
Signed-off-by: 11happy <soni5happy at gmail.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list