[PATCH] D117579: Add assert on End iteration distance to Rewriter::getRewrittenText.

2022-01-25 Thread Yitzhak Mandelbaum via Phabricator via cfe-commits
This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. Closed by commit rGbd1fac2fafd7: Add assert on End iteration distance to Rewriter::getRewrittenText. (authored by ahedberg, committed by ymandel). Repository: rG LLV

[PATCH] D117579: Add assert on End iteration distance to Rewriter::getRewrittenText.

2022-01-18 Thread ahedberg via Phabricator via cfe-commits
ahedberg created this revision. ahedberg requested review of this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits. I currently have code that is crashing in the second std::advance call, and it was not straightforward to identify the problem, as the first line of th