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

Eugene Epshteyn via flang-commits flang-commits at lists.llvm.org
Wed Sep 2 06:06:58 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) {
----------------
eugeneepshteyn wrote:

Remove `IsNegatedScalarConstant` (see above comment).

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


More information about the flang-commits mailing list