[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 21:05:37 PDT 2026
https://github.com/zhangweize9-cyber commented:
> I'm pretty sure all the templates that are now marked [[maybe_unused]] inside of .cpp files can just be deleted.
I agree with this approach, but we need to consider whether the functions marked with `[[maybe_unused]]` should be directly deleted when running on a specific architecture platform, or whether `#ifdef` should be used to determine whether the function is needed on a specific platform.
https://github.com/llvm/llvm-project/pull/218985
More information about the flang-commits
mailing list