[all-commits] [llvm/llvm-project] af77b1: [clang-tidy] add support for Demorgan conversions ...
Nathan James via All-commits
all-commits at lists.llvm.org
Sun May 22 01:29:00 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: af77b1d99016fde66edd9e72d907c03fe4511215
https://github.com/llvm/llvm-project/commit/af77b1d99016fde66edd9e72d907c03fe4511215
Author: Nathan James <n.james93 at hotmail.co.uk>
Date: 2022-05-22 (Sun, 22 May 2022)
Changed paths:
M clang-tools-extra/clang-tidy/readability/SimplifyBooleanExprCheck.cpp
M clang-tools-extra/clang-tidy/readability/SimplifyBooleanExprCheck.h
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/docs/clang-tidy/checks/readability-simplify-boolean-expr.rst
A clang-tools-extra/test/clang-tidy/checkers/readability-simplify-bool-expr-demorgan.cpp
Log Message:
-----------
[clang-tidy] add support for Demorgan conversions to readability-simplify-bool-expr
Adds support for recognising and converting boolean expressions that can be simplified using De Morgans Law.
This is a different implementation to D124650.
Fixes https://github.com/llvm/llvm-project/issues/55092
Reviewed By: LegalizeAdulthood
Differential Revision: https://reviews.llvm.org/D124806
More information about the All-commits
mailing list