[all-commits] [llvm/llvm-project] d0cd5a: [clang-format] Fix SpacesInLineCommentPrefix delet...
martinboehme via All-commits
all-commits at lists.llvm.org
Thu Jun 9 13:38:16 PDT 2022
Branch: refs/heads/release/14.x
Home: https://github.com/llvm/llvm-project
Commit: d0cd5a872f8d0d3720d2428dd420ae9177e6a8f1
https://github.com/llvm/llvm-project/commit/d0cd5a872f8d0d3720d2428dd420ae9177e6a8f1
Author: Marek Kurdej <marek.kurdej+llvm.org at gmail.com>
Date: 2022-06-09 (Thu, 09 Jun 2022)
Changed paths:
M clang/lib/Format/BreakableToken.cpp
M clang/unittests/Format/FormatTestComments.cpp
Log Message:
-----------
[clang-format] Fix SpacesInLineCommentPrefix deleting tokens.
Fixes https://github.com/llvm/llvm-project/issues/53799.
Reviewed By: HazardyKnusperkeks, owenpan
Differential Revision: https://reviews.llvm.org/D119680
Commit: deb573739df926c9b7321d0b05994370074aa53c
https://github.com/llvm/llvm-project/commit/deb573739df926c9b7321d0b05994370074aa53c
Author: Martin Boehme <mboehme at google.com>
Date: 2022-06-09 (Thu, 09 Jun 2022)
Changed paths:
M clang-tools-extra/clang-tidy/bugprone/UseAfterMoveCheck.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/test/clang-tidy/checkers/bugprone-use-after-move.cpp
Log Message:
-----------
[clang-tidy] `bugprone-use-after-move`: Fix handling of moves in lambda captures
Previously, we were treating a move in the lambda capture as if it happened
within the body of the lambda, not within the function that defines the lambda.
This fixes the same bug as https://reviews.llvm.org/D119165 (which it appears
may have been abandoned by the author?) but does so more simply.
Reviewed By: njames93
Differential Revision: https://reviews.llvm.org/D126780
(cherry picked from commit 8b90b2539048a581052a4b0d7628ffba0cd582a9)
Compare: https://github.com/llvm/llvm-project/compare/3cd9df8443f8...deb573739df9
More information about the All-commits
mailing list