[clang-tools-extra] [clang-tidy] modernize-use-std-print, format: Fix checks with Abseil functions (PR #142312)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Sun Jul 13 15:26:44 PDT 2025


https://github.com/vbvictor approved this pull request.

LGTM
As I understand now, `IgnoreImplicitAsWritten` does not skip `CXXConstructExpr` and other similar nodes but `IgnoreUnlessSpelledInSource` does. To drill down to the `StringLiteral` we need to use `IgnoreUnlessSpelledInSource`.
https://godbolt.org/z/PxGGx9196

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


More information about the cfe-commits mailing list