[clang] clang-format: Add "AllowShortNamespacesOnASingleLine" option (PR #105597)
Owen Pan via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 6 23:46:30 PDT 2024
================
@@ -27981,6 +27981,118 @@ TEST_F(FormatTest, BreakBinaryOperations) {
Style);
}
+TEST_F(FormatTest, ShortNamespacesOption) {
+ FormatStyle Style = getLLVMStyle();
----------------
owenca wrote:
```suggestion
auto Style = getLLVMStyle();
```
https://github.com/llvm/llvm-project/pull/105597
More information about the cfe-commits
mailing list