sorbits/ninja — comment on commit f4d1354e25b8e0778000fd386ccce9cc49fad670
File: src/depfile_parser.in.cc line 48
By sorbits:

It’s possible to do a one-pass — I think though if this is desired, the API of the parser should be changed to either take the file name or a non-const buffer (that it can mutate and return `StringPiece` references to.