[flang-commits] [flang] [flang] Fix one legitimate warning found with -Werror (PR #175819)

Eugene Epshteyn via flang-commits flang-commits at lists.llvm.org
Tue Jan 13 13:00:52 PST 2026


================
@@ -203,7 +203,7 @@ class DumpEvaluateExpr {
   }
   void Show(const evaluate::Relational<evaluate::SomeType> &x);
   template <typename T> void Show(const evaluate::Expr<T> &x) {
-    Indent("expr <" + std::string(TypeOf<T>::name) + ">");
+    Indent("expr <"s + std::string(TypeOf<T>::name) + "s"s);
----------------
eugeneepshteyn wrote:

Wait, typo: `"s"s`

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


More information about the flang-commits mailing list