HazardyKnusperkeks added inline comments.
================ Comment at: clang/lib/Format/UnwrappedLineFormatter.cpp:297 + return true; + if (Style.isCpp() && RecordTok->is(tok::kw_union)) + return true; ---------------- Is union used in another language and behaves then differently? ================ Comment at: clang/lib/Format/UnwrappedLineFormatter.cpp:304 + return true; + if (Style.isJavaScript() && RecordTok->is(Keywords.kw_function)) + return true; ---------------- Is there a test for that? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D117142/new/ https://reviews.llvm.org/D117142 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits