[flang-commits] [flang] [flang] Enclose Walk overloads into class for lookup purposes (PR #115926)

Krzysztof Parzyszek via flang-commits flang-commits at lists.llvm.org
Tue Nov 12 11:49:54 PST 2024


kparzysz wrote:

> This is unclear to me. Why would a declaration for the `std::variant` overload not solve the problem?

It would solve the problem I'm having, but it wouldn't address any latent problems of the same kind that may arise later.  The two approaches I listed guarantee that any two Walk functions can call each other.

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


More information about the flang-commits mailing list