curdeius added inline comments.
================ Comment at: clang/lib/Format/UnwrappedLineParser.cpp:1826 + if (Style.isJavaScript() && Line->MustBeDeclaration) + // 'case: string' field declaration. + break; ---------------- HazardyKnusperkeks wrote: > Here's the loop. In the switch before that worked, since it was not in a > loop. Here we need to do something. (nextToken()?) Yes, it seems so. I'll add a test case and fix it. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D121450/new/ https://reviews.llvm.org/D121450 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits