================ @@ -411,9 +411,16 @@ class LineJoiner { } } + const auto *LastNonComment = TheLine->getLastNonComment(); + assert(LastNonComment); + // FIXME: There are probably cases where we should use LastNonComment ---------------- owenca wrote:
No. This is new from this patch. https://github.com/llvm/llvm-project/pull/74651 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits