[PATCH] D59309: [clang-format] BreakAfterReturnType ignored on functions with numeric template parameters

Manuel Klimek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 25 03:51:38 PDT 2019


klimek added a comment.

Minus me understanding the TT_TemplateString change, the rest looks nice now, thanks!



================
Comment at: clang/lib/Format/TokenAnnotator.cpp:3177-3178
       return false;
     // Don't split tagged template literal so there is a break between the tag
     // identifier and template string.
     if (Left.is(tok::identifier) && Right.is(TT_TemplateString)) {
----------------
I don't understand this yet, which test broke? The TT_TemplateString looks like it's a JS thing?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D59309/new/

https://reviews.llvm.org/D59309





More information about the cfe-commits mailing list