[clang-tools-extra] [clang-tidy] [NFC] Move comment scanning to `LexerUtils` and add tests (PR #180371)
Victor Chernyakin via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 11 17:51:46 PST 2026
================
@@ -17,6 +17,8 @@
using namespace clang::ast_matchers;
namespace clang::tidy::bugprone {
+
+using clang::tidy::utils::lexer::CommentToken;
----------------
localspook wrote:
Does this work?
```suggestion
using utils::lexer::CommentToken;
```
https://github.com/llvm/llvm-project/pull/180371
More information about the cfe-commits
mailing list