[clang-tools-extra] [clang-tidy] [NFC] Move comment scanning to `LexerUtils` and add tests (PR #180371)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 9 06:39:52 PST 2026


================
@@ -17,6 +17,8 @@
 using namespace clang::ast_matchers;
 
 namespace clang::tidy::bugprone {
+
+using CommentToken = clang::tidy::utils::lexer::CommentToken;
----------------
vbvictor wrote:

```suggestion
using clang::tidy::utils::lexer::CommentToken;

```


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


More information about the cfe-commits mailing list