================ @@ -245,10 +245,10 @@ runDataflowAnalysis( /// iterations. /// - This limit is still low enough to keep runtimes acceptable (on typical /// machines) in cases where we hit the limit. -template <typename AnalysisT, typename Diagnostic> -llvm::Expected<std::vector<Diagnostic>> diagnoseFunction( +template <typename AnalysisT, typename DiagnosticList> +llvm::Expected<DiagnosticList> diagnoseFunction( ---------------- ymand wrote:
Makes sense! Just to close out this comment thread, I made the changes suggested. https://github.com/llvm/llvm-project/pull/66014 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits