[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:10:12 PDT 2026


================
@@ -425,7 +425,7 @@ template <typename T> static bool IsNegatedScalarConstant(const Expr<T> &expr) {
 }
 
 template <TypeCategory CAT>
-static bool IsNegatedScalarConstant(const Expr<SomeKind<CAT>> &expr) {
+bool IsNegatedScalarConstant(const Expr<SomeKind<CAT>> &expr) {
----------------
laoshd wrote:

Removed.

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


More information about the flang-commits mailing list