daphnediane added a comment.
In https://reviews.llvm.org/D24703#545706, @djasper wrote:
> I think, this is the wrong fix. Instead, a
> || (Left.is(TT_TemplateOpener) && !Right.is(TT_TemplateCloser))
> should be added to the last return statement of this function.
> Also, could you please add a test in unittests/Format/FormatTest.cpp.
Trying that on my code after I finish rebasing and rebuilding, will also look
into adding test to FormatTest.
cfe-commits mailing list