jtbandes marked an inline comment as done. jtbandes added inline comments.
================ Comment at: lib/Format/UnwrappedLineFormatter.cpp:368 // We don't merge short records. - if (Line.First->isOneOf(tok::kw_class, tok::kw_union, tok::kw_struct, - Keywords.kw_interface)) + FormatToken *T = + Line.First->is(tok::kw_typedef) ? Line.First->Next : Line.First; ---------------- djasper wrote: > Don't use "T", that's too much engrained as template parameter. Use "Tok". Added nested scope to avoid shadowing `Tok` from above. https://reviews.llvm.org/D32825 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits