[flang-commits] [flang] [Flang] Switch to common::visit more call sites (PR #90018)

Peter Klausler via flang-commits flang-commits at lists.llvm.org
Thu Apr 25 08:00:39 PDT 2024


================
@@ -448,12 +448,12 @@ struct ExtractSubstringHelper {
 
   template <typename T>
   static std::optional<Substring> visit(const Designator<T> &e) {
-    return std::visit([](auto &&s) { return visit(s); }, e.u);
+    return Fortran::common::visit([](auto &&s) { return visit(s); }, e.u);
----------------
klausler wrote:

The `Fortran::` namespace is redundant here, so in Evaluate and Semantics I don't use it.

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


More information about the flang-commits mailing list