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

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Tue May 20 21:02:38 PDT 2025


================
@@ -28,7 +27,7 @@ struct ClassifiedToken {
 class UseTrailingReturnTypeCheck : public ClangTidyCheck {
 public:
   UseTrailingReturnTypeCheck(StringRef Name, ClangTidyContext *Context)
-      : ClangTidyCheck(Name, Context) {}
+      : ClangTidyCheck(Name, Context) {};
----------------
vbvictor wrote:

```suggestion
      : ClangTidyCheck(Name, Context) {}
```


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


More information about the cfe-commits mailing list