[all-commits] [llvm/llvm-project] 2b51c8: [clang-tidy] Clarify bugprone-branch-clone diagnos...
DonatNagyE via All-commits
all-commits at lists.llvm.org
Fri Feb 17 08:28:51 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2b51c8cd2ac6b9a6a5b713700c8299954980242d
https://github.com/llvm/llvm-project/commit/2b51c8cd2ac6b9a6a5b713700c8299954980242d
Author: DonĂ¡t Nagy <m1nagdon at protonmail.com>
Date: 2023-02-17 (Fri, 17 Feb 2023)
Changed paths:
M clang-tools-extra/clang-tidy/bugprone/BranchCloneCheck.cpp
M clang-tools-extra/test/clang-tidy/checkers/bugprone/branch-clone-if-constexpr-template.cpp
M clang-tools-extra/test/clang-tidy/checkers/bugprone/branch-clone-macro-crash.c
M clang-tools-extra/test/clang-tidy/checkers/bugprone/branch-clone.cpp
Log Message:
-----------
[clang-tidy] Clarify bugprone-branch-clone diagnostic message
This simple commit inserts "body" into the message "repeated branch _body_ in
conditional chain". This is motivated by feedback from a user who (at first
glance) thought that clang-tidy complained about a repeated branch _condition_.
Differential Revision: https://reviews.llvm.org/D143917
More information about the All-commits
mailing list