curdeius added a comment.

In D115803#3195115 <https://reviews.llvm.org/D115803#3195115>, @MyDeveloperDay 
wrote:

> So am I right in thinking the <tab> got replaced out because C.Spaces was > 
> C.StartOfTokenColumn?  (i.e. appendIndentText was given a negative number as 
> the 4th argument)

Yes, that's it. It's not actually negative because that's an unsigned value, so 
it underflows and gets big. That's also a reason why we can't just check for a 
non-positive value instead of a zero i. `appendIndentText` (that would be a 
different workaround though).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D115803

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to