================ @@ -28314,6 +28320,116 @@ TEST_F(FormatTest, KeepFormFeed) { Style); } +TEST_F(FormatTest, ShortNamespacesOption) { + auto BaseStyle = getLLVMStyle(); + BaseStyle.AllowShortNamespacesOnASingleLine = true; + BaseStyle.FixNamespaceComments = false; + BaseStyle.CompactNamespaces = true; + + auto Style = BaseStyle; ---------------- owenca wrote:
```suggestion auto Style = getLLVMStyle(); Style.AllowShortNamespacesOnASingleLine = true; Style.CompactNamespaces = true; Style.FixNamespaceComments = false; ``` https://github.com/llvm/llvm-project/pull/105597 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits