[flang-commits] [flang] [Flang][#212316] Fix -Wunused-template errors under -Werror (PR #218985)

via flang-commits flang-commits at lists.llvm.org
Tue Sep 8 03:17:11 PDT 2026


================
@@ -15,8 +15,7 @@ namespace Fortran::evaluate {
 
 // DOT_PRODUCT
 template <typename T>
-static Expr<T> FoldDotProduct(
-    FoldingContext &context, FunctionRef<T> &&funcRef) {
+Expr<T> FoldDotProduct(FoldingContext &context, FunctionRef<T> &&funcRef) {
----------------
laoshd wrote:

Keep the previous changes.

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


More information about the flang-commits mailing list