[clang-tools-extra] [clang-tidy][NFC] Refactor `modernize-use-trailing-return-type-check` check code and tests (PR #140759)

Carlos Galvez via cfe-commits cfe-commits at lists.llvm.org
Tue May 20 12:07:23 PDT 2025


================
@@ -113,7 +113,7 @@ struct UnqualNameVisitor : public RecursiveASTVisitor<UnqualNameVisitor> {
 };
 } // namespace
 
-constexpr llvm::StringLiteral Message =
+constexpr llvm::StringLiteral MessageFunction =
----------------
carlosgalvezp wrote:

Nit: I think the name was clearer before. I read this as "the function that does something with the message". 

Maybe `ErrorMessage` would be more accurate?

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


More information about the cfe-commits mailing list