[clang-tools-extra] [clang-tidy][NFC] fix `clang-tidy` warnings in `clang-tools-extra/clang-tidy` directory (PR #136097)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 17 12:07:51 PDT 2025


================
@@ -209,12 +209,14 @@ bool isQualificationConvertiblePointer(QualType From, QualType To,
   // cv-decomposition of T, that is, cv_1, cv_2, ... , cv_n, is called the
   // cv-qualification signature of T.
 
-  auto isValidP_i = [](QualType P) {
+  // NOLINTNEXTLINE (readability-identifier-naming): Preserve original notation
----------------
vbvictor wrote:

Here I changed the first letter to be capital as needed for naming-convention, but i needed to preserve last underscore (which is banned) since we have a big comment above, where they name variables like `P_n` : `cv_0 P_0 cv_1 P_1 ... cv_n−1 P_n−1 cv_n U” for n > 0`

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


More information about the cfe-commits mailing list