ChuanqiXu9 wrote: > > > Thanks, LGTM. > > > With just a little more effort you could add the EOF stuff in there too. > > > > > > What do you mean by EOF stuff? > > It seems you can deduplicate by moving this block into the scope guard: > > ```c++ > while (Tok.isNot(tok::eof)) > ConsumeAnyToken(); > if (Tok.is(tok::eof) && Tok.getEofData() == LM.D) > ConsumeAnyToken(); > ```
Done https://github.com/llvm/llvm-project/pull/129212 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits