[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:09:42 PDT 2025


================
@@ -383,6 +382,10 @@ void UseTrailingReturnTypeCheck::keepSpecifiers(
   }
 }
 
+UseTrailingReturnTypeCheck::UseTrailingReturnTypeCheck(
----------------
carlosgalvezp wrote:

Nit: typically we keep these in the header in this case, since it's just 1 more line in the header, compared to 3 more lines in the .cpp.

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


More information about the cfe-commits mailing list