Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions flang/include/flang/Semantics/dump-expr.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,11 @@ class DumpEvaluateExpr {
std::string_view v(__PRETTY_FUNCTION__);
// Extract the "xyz" from the "pretty function" string:
// "... [with T = xyz; std::string_view = ...]"
std::string_view front("with T = ");
#ifdef __clang__
std::string_view front("[T = ");
#else
std::string_view front("[with T = ");
#endif
std::string_view back("; std::string_view =");

#elif defined(_MSC_VER)
Expand All @@ -69,7 +73,6 @@ class DumpEvaluateExpr {
}
}
#endif

return "";
}

Expand Down