[clang] [clang-format] js handle anonymous classes (PR #106242)

Owen Pan via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 27 19:38:50 PDT 2024


================
@@ -579,6 +579,14 @@ TEST_F(FormatTestJS, GoogScopes) {
                "});");
 }
 
+TEST_F(FormatTestJS, GoogAnonymousClass) {
----------------
owenca wrote:

Please add a `TokenAnnotatorTest` to test the annotation of the braces instead of (preferred), or in addition to, this test.

https://github.com/llvm/llvm-project/pull/106242


More information about the cfe-commits mailing list