[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
Fri Apr 5 03:30:56 PDT 2019


klimek accepted this revision.
klimek added a comment.
This revision is now accepted and ready to land.

lg



================
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)) {
----------------
MyDeveloperDay wrote:
> klimek wrote:
> > I don't understand this yet, which test broke? The TT_TemplateString looks like it's a JS thing?
> I'm not sure what you mean here?
I don't see the change any more - perhaps the diff was broken? Sorry :(


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

https://reviews.llvm.org/D59309





More information about the cfe-commits mailing list