================ @@ -56,6 +60,13 @@ class UseTrailingReturnTypeCheck : public ClangTidyCheck { SourceRange ReturnTypeCVRange, const FunctionDecl &F, const FriendDecl *Fr, const ASTContext &Ctx, const SourceManager &SM, const LangOptions &LangOpts); + + void diagOnLambda(const LambdaExpr *Lambda, + const ast_matchers::MatchFinder::MatchResult &Result); + SourceLocation findLambdaTrailingReturnInsertLoc(const CXXMethodDecl *Method, + const SourceManager &SM, + const LangOptions &LangOpts, + const ASTContext &Ctx); ---------------- vbvictor wrote:
Created a separate PR for this change https://github.com/llvm/llvm-project/pull/140759 https://github.com/llvm/llvm-project/pull/135383 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits