[clang-tools-extra] [clang-tidy][NFC] Add `findTokenInRange` and reuse it (PR #183941)
Daniil Dudkin via cfe-commits
cfe-commits at lists.llvm.org
Sun Mar 1 05:29:16 PST 2026
================
@@ -126,6 +127,13 @@ std::vector<CommentToken>
getTrailingCommentsInRange(CharSourceRange Range, const SourceManager &SM,
const LangOptions &LangOpts);
+/// Returns the first token in \p Range matching \p Pred.
----------------
unterumarmung wrote:
Done
https://github.com/llvm/llvm-project/pull/183941
More information about the cfe-commits
mailing list