[all-commits] [llvm/llvm-project] 52296f: [clang-tidy] Add readability-avoid-unconditional-p...
Piotr Zegar via All-commits
all-commits at lists.llvm.org
Sun Mar 26 06:22:03 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 52296f5ed88b20af29cac517e349b221ed84cc2a
https://github.com/llvm/llvm-project/commit/52296f5ed88b20af29cac517e349b221ed84cc2a
Author: Piotr Zegar <piotr.zegar at nokia.com>
Date: 2023-03-26 (Sun, 26 Mar 2023)
Changed paths:
A clang-tools-extra/clang-tidy/readability/AvoidUnconditionalPreprocessorIfCheck.cpp
A clang-tools-extra/clang-tidy/readability/AvoidUnconditionalPreprocessorIfCheck.h
M clang-tools-extra/clang-tidy/readability/CMakeLists.txt
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/avoid-unconditional-preprocessor-if.rst
A clang-tools-extra/test/clang-tidy/checkers/readability/avoid-unconditional-preprocessor-if.cpp
Log Message:
-----------
[clang-tidy] Add readability-avoid-unconditional-preprocessor-if check
Check flags always enabled or disabled code blocks in preprocessor '#if'
conditions, such as '#if 0' and '#if 1' etc.
Reviewed By: carlosgalvezp
Differential Revision: https://reviews.llvm.org/D145617
More information about the All-commits
mailing list