[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 12:36:21 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) + ">");
----------------
eugeneepshteyn wrote:
Maybe also add `s` to the last `">"`?
https://github.com/llvm/llvm-project/pull/175819
More information about the flang-commits
mailing list