[all-commits] [llvm/llvm-project] 211157: [clang-tidy] Fixed false-negative in readability-i...
Piotr Zegar via All-commits
all-commits at lists.llvm.org
Sun Aug 6 02:26:41 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2111577d4dfc1d48b4e2221f84597fa4f54b8cfd
https://github.com/llvm/llvm-project/commit/2111577d4dfc1d48b4e2221f84597fa4f54b8cfd
Author: Piotr Zegar <me at piotrzegar.pl>
Date: 2023-08-06 (Sun, 06 Aug 2023)
Changed paths:
M clang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/test/clang-tidy/checkers/readability/identifier-naming.cpp
Log Message:
-----------
[clang-tidy] Fixed false-negative in readability-identifier-naming
Issue were cased by checking if canonical declaration of record is a
definition. Unfortunately when forward declarations were used, it were
not a definition.
Fixes: #64463
Reviewed By: carlosgalvezp
Differential Revision: https://reviews.llvm.org/D157190
Commit: 2553e2403a33824bea7ca280c9328b0b0acf2836
https://github.com/llvm/llvm-project/commit/2553e2403a33824bea7ca280c9328b0b0acf2836
Author: Piotr Zegar <me at piotrzegar.pl>
Date: 2023-08-06 (Sun, 06 Aug 2023)
Changed paths:
M clang-tools-extra/clang-tidy/performance/NoexceptSwapCheck.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/test/clang-tidy/checkers/performance/noexcept-swap.cpp
Log Message:
-----------
[clang-tidy] Fix false-positives in performanc-noexcept-swap
Enforce a stricter match with the swap function signature, eliminating false-positives.
Fixes: #64303
Reviewed By: carlosgalvezp
Differential Revision: https://reviews.llvm.org/D157185
Compare: https://github.com/llvm/llvm-project/compare/b3700c34aa71...2553e2403a33
More information about the All-commits
mailing list