commit | 30e45d19167a8681cf17f64e2db47b227dbf8574 | [log] [tgz] |
---|---|---|
author | Tan S. B <cpplearner@outlook.com> | Sun Dec 05 22:32:48 2021 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Sun Dec 05 22:46:44 2021 -0800 |
tree | 9e13d3497878215ddc33fc33d3bbe84520562b7d | |
parent | 8876e2f6664df866e2e94794478a673942500323 [diff] |
[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 GitOrigin-RevId: c41b3b0fa0f4f70aad8deaf48bcd42a04385066c