[PATCH] D158413: [Lex] Introduce Preprocessor::LexAll()

2023-09-14 Thread Aaron Ballman via Phabricator via cfe-commits
aaron.ballman added inline comments. Comment at: clang/lib/Lex/Preprocessor.cpp:998 +std::vector Preprocessor::LexAll() { + std::vector toks; v.g.vassilev wrote: > Shouldn't we take the results as a `LexAll(std::vector )`? > > Perhaps we should rename this

[PATCH] D158413: [Lex] Introduce Preprocessor::LexAll()

2023-09-14 Thread Vassil Vassilev via Phabricator via cfe-commits
v.g.vassilev added inline comments. Comment at: clang/lib/Lex/Preprocessor.cpp:998 +std::vector Preprocessor::LexAll() { + std::vector toks; Shouldn't we take the results as a `LexAll(std::vector )`? Perhaps we should rename this interface to

[PATCH] D158413: [Lex] Introduce Preprocessor::LexAll()

2023-09-14 Thread Jonas Hahnfeld via Phabricator via cfe-commits
Hahnfeld added a comment. ping! Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D158413/new/ https://reviews.llvm.org/D158413 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

[PATCH] D158413: [Lex] Introduce Preprocessor::LexAll()

2023-09-04 Thread Jonas Hahnfeld via Phabricator via cfe-commits
Hahnfeld added a comment. ping :) Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D158413/new/ https://reviews.llvm.org/D158413 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

[PATCH] D158413: [Lex] Introduce Preprocessor::LexAll()

2023-08-21 Thread Jonas Hahnfeld via Phabricator via cfe-commits
Hahnfeld created this revision. Hahnfeld added reviewers: hokein, aaron.ballman. Herald added subscribers: kbarton, nemanjai. Herald added a project: All. Hahnfeld requested review of this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits. This new method repeatedly