[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:11:32 PDT 2026
================
@@ -43,7 +43,7 @@ using namespace Fortran::runtime::cuda;
namespace {
template <typename OpTy>
-static bool isPinned(OpTy op) {
+[[maybe_unused]] bool isPinned(OpTy op) {
----------------
laoshd wrote:
Unused function. Removed.
https://github.com/llvm/llvm-project/pull/218985
More information about the flang-commits
mailing list