[clang] [clang-tools-extra] [clang][refactor] Refactor `findNextTokenIncludingComments` (PR #123060)

Shafik Yaghmour via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 16 13:24:14 PST 2025


================
@@ -118,47 +118,19 @@ findMembersUsedInInitExpr(const CXXCtorInitializer *Initializer,
   return Results;
 }
 
-/// Returns the next token after `Loc` (including comment tokens).
-static std::optional<Token> getTokenAfter(SourceLocation Loc,
----------------
shafik wrote:

This looks like just a better formatted `findNextTokenIncludingComments`

https://github.com/llvm/llvm-project/pull/123060


More information about the cfe-commits mailing list