[all-commits] [llvm/llvm-project] e01f62: [clang-format] Fix PointerAlignment within lambdas...
Marek Kurdej via All-commits
all-commits at lists.llvm.org
Mon Feb 14 00:41:39 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e01f624adb0ed5d0f1369b0679a64484bac10d02
https://github.com/llvm/llvm-project/commit/e01f624adb0ed5d0f1369b0679a64484bac10d02
Author: Marek Kurdej <marek.kurdej+llvm.org at gmail.com>
Date: 2022-02-14 (Mon, 14 Feb 2022)
Changed paths:
M clang/lib/Format/TokenAnnotator.cpp
M clang/unittests/Format/FormatTest.cpp
Log Message:
-----------
[clang-format] Fix PointerAlignment within lambdas in a multi-variable declaration statement.
Fixes https://github.com/llvm/llvm-project/issues/43115.
Also, handle while loops with initializers (C++20) the same way as for loops.
Reviewed By: HazardyKnusperkeks, owenpan
Differential Revision: https://reviews.llvm.org/D119648
More information about the All-commits
mailing list