[clang-tools-extra] [clang-tidy][readability-identifier-length] refactoring and cleanup (PR #194610)

Victor Chernyakin via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 29 03:51:46 PDT 2026


================
@@ -32,19 +32,19 @@ class IdentifierLengthCheck : public ClangTidyCheck {
   const unsigned MinimumExceptionNameLength;
   const unsigned MinimumParameterNameLength;
 
-  std::string IgnoredVariableNamesInput;
+  llvm::StringRef IgnoredVariableNamesInput;
----------------
localspook wrote:

I don't think you can, since it's not in this list here:
https://github.com/llvm/llvm-project/blob/61b06773b79c59095f29804da123f4d053e58713/clang/include/clang/Basic/LLVM.h#L64-L74
(If it was in that list, I would say yes though)

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


More information about the cfe-commits mailing list