[all-commits] [llvm/llvm-project] 766dd7: [clang-tidy] Fix handling of out-of-line functions...
Piotr Zegar via All-commits
all-commits at lists.llvm.org
Mon Aug 14 23:59:27 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 766dd7b80b575e723c8cb454532b614f9d5f2bc7
https://github.com/llvm/llvm-project/commit/766dd7b80b575e723c8cb454532b614f9d5f2bc7
Author: Piotr Zegar <me at piotrzegar.pl>
Date: 2023-08-15 (Tue, 15 Aug 2023)
Changed paths:
M clang-tools-extra/clang-tidy/readability/StaticAccessedThroughInstanceCheck.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/test/clang-tidy/checkers/readability/static-accessed-through-instance.cpp
Log Message:
-----------
[clang-tidy] Fix handling of out-of-line functions in readability-static-accessed-through-instance
Use isStatic instead of isStaticStorageClass to properly
handle a out-of-line definitions.
Fixes: #51861
Reviewed By: carlosgalvezp
Differential Revision: https://reviews.llvm.org/D157326
Commit: 0c7d28f72e190ca387a14cf76d611c4e8b292557
https://github.com/llvm/llvm-project/commit/0c7d28f72e190ca387a14cf76d611c4e8b292557
Author: Piotr Zegar <me at piotrzegar.pl>
Date: 2023-08-15 (Tue, 15 Aug 2023)
Changed paths:
M clang-tools-extra/clang-tidy/misc/RedundantExpressionCheck.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/test/clang-tidy/checkers/misc/redundant-expression.cpp
Log Message:
-----------
[clang-tidy] Ignore decltype in misc-redundant-expression
Modify check to ignore any parent typeLoc and
other unevaluated context.
Fixes: #35857
Reviewed By: carlosgalvezp
Differential Revision: https://reviews.llvm.org/D157374
Compare: https://github.com/llvm/llvm-project/compare/cb0a183e5b9e...0c7d28f72e19
More information about the All-commits
mailing list