[all-commits] [llvm/llvm-project] c41b3b: [clang-format] Adjust braced list detection
S. B. Tam via All-commits
all-commits at lists.llvm.org
Sun Dec 5 22:40:17 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c41b3b0fa0f4f70aad8deaf48bcd42a04385066c
https://github.com/llvm/llvm-project/commit/c41b3b0fa0f4f70aad8deaf48bcd42a04385066c
Author: Tan S. B <cpplearner at outlook.com>
Date: 2021-12-05 (Sun, 05 Dec 2021)
Changed paths:
M clang/lib/Format/UnwrappedLineParser.cpp
M clang/unittests/Format/FormatTest.cpp
Log Message:
-----------
[clang-format] Adjust braced list detection
This avoids mishandling nested compound statements that are followed by another compound statement.
Fixes https://llvm.org/PR38314 and https://llvm.org/PR48305.
Differential Revision: https://reviews.llvm.org/D114583
More information about the All-commits
mailing list