[all-commits] [llvm/llvm-project] bc10ab: [clang-format] Fix a bug in inserting braces at tr...
Owen via All-commits
all-commits at lists.llvm.org
Tue Aug 30 22:51:02 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bc10ab8da1b511e794fbed2396c60c87e2e05ef2
https://github.com/llvm/llvm-project/commit/bc10ab8da1b511e794fbed2396c60c87e2e05ef2
Author: owenca <owenpiano at gmail.com>
Date: 2022-08-30 (Tue, 30 Aug 2022)
Changed paths:
M clang/lib/Format/Format.cpp
M clang/lib/Format/UnwrappedLineParser.cpp
M clang/unittests/Format/FormatTest.cpp
Log Message:
-----------
[clang-format] Fix a bug in inserting braces at trailing comments
If the style wraps control statement braces, the opening braces
should be inserted after the trailing comments if present.
Fixes #57419.
Differential Revision: https://reviews.llvm.org/D132905
More information about the All-commits
mailing list