[clang-tools-extra] [clang-tools-extra] Apply modernize-use-string-view to the code (PR #179514)

via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 3 21:14:35 PST 2026


================
@@ -116,7 +116,7 @@ class IdentifierNamingCheck final : public RenamerClangTidyCheck {
         StringRef TypeName, const NamedDecl *ND,
         const IdentifierNamingCheck::HungarianNotationOption &HNOption) const;
 
-    std::string getClassPrefix(
+    llvm::StringRef getClassPrefix(
----------------
zeyi2 wrote:

```suggestion
    StringRef getClassPrefix(
```

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


More information about the cfe-commits mailing list