[all-commits] [llvm/llvm-project] 166372: [clang-tidy] Fix inline namespaces in llvm-namespa...
Piotr Zegar via All-commits
all-commits at lists.llvm.org
Sat Aug 5 09:49:06 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 166372e0bd2db5de459fc9d4be7ea9873ce983f4
https://github.com/llvm/llvm-project/commit/166372e0bd2db5de459fc9d4be7ea9873ce983f4
Author: Piotr Zegar <me at piotrzegar.pl>
Date: 2023-08-05 (Sat, 05 Aug 2023)
Changed paths:
M clang-tools-extra/clang-tidy/readability/NamespaceCommentCheck.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/test/clang-tidy/checkers/google/readability-namespace-comments-c++17.cpp
Log Message:
-----------
[clang-tidy] Fix inline namespaces in llvm-namespace-comment
Provide fixes for inline namespaces in the same format as clang-format.
Fixes: #56804
Reviewed By: carlosgalvezp
Differential Revision: https://reviews.llvm.org/D157178
Commit: ee2b765cdd5ba28055fde25487139f2f1f7c6fb2
https://github.com/llvm/llvm-project/commit/ee2b765cdd5ba28055fde25487139f2f1f7c6fb2
Author: Piotr Zegar <me at piotrzegar.pl>
Date: 2023-08-05 (Sat, 05 Aug 2023)
Changed paths:
M clang-tools-extra/docs/clang-tidy/checks/hicpp/avoid-goto.rst
M clang-tools-extra/docs/clang-tidy/checks/list.rst
Log Message:
-----------
[clang-tidy][NFC] Update documentation for hicpp-avoid-goto
Add info in check list that hicpp-avoid-goto is actually
a alias to cppcoreguidelines-avoid-goto.
Fixes: #64337
Reviewed By: carlosgalvezp
Differential Revision: https://reviews.llvm.org/D157182
Commit: 3e2ed5701b7e0a5f5b2f0d248fe82f78e0e07267
https://github.com/llvm/llvm-project/commit/3e2ed5701b7e0a5f5b2f0d248fe82f78e0e07267
Author: Piotr Zegar <me at piotrzegar.pl>
Date: 2023-08-05 (Sat, 05 Aug 2023)
Changed paths:
M clang-tools-extra/clang-tidy/cppcoreguidelines/AvoidNonConstGlobalVariablesCheck.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/avoid-non-const-global-variables.cpp
Log Message:
-----------
[clang-tidy] Exclude class/struct scope variables from cppcoreguidelines-avoid-non-const-global-variables
Ignore static variables declared within the scope of class/struct.
Those variables should be covered by I.3 rule.
Fixes: #47384
Reviewed By: carlosgalvezp
Differential Revision: https://reviews.llvm.org/D157180
Compare: https://github.com/llvm/llvm-project/compare/36daf3532d91...3e2ed5701b7e
More information about the All-commits
mailing list