owenpan accepted this revision. owenpan added inline comments.
================ Comment at: clang/lib/Format/TokenAnnotator.cpp:829 OpeningBrace.setType(TT_DictLiteral); + if (Style.isJavaScript()) + OpeningBrace.overwriteFixedType(TT_DictLiteral); ---------------- ================ Comment at: clang/unittests/Format/TokenAnnotatorTest.cpp:588 + EXPECT_TOKEN(Tokens[4], tok::r_brace, TT_InlineASMBrace); +} } // namespace ---------------- Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D121559/new/ https://reviews.llvm.org/D121559 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits