Skip to content

Commit a1ef1b2

Browse files
kparzyszaokblast
authored andcommitted
[flang] One more fix for dumping evaluate::Expr (llvm#165730)
Clang doesn't have "std::string_view" in the type list.
1 parent 9fccc32 commit a1ef1b2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

flang/include/flang/Semantics/dump-expr.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,11 @@ class DumpEvaluateExpr {
4848
// "... [with T = xyz; std::string_view = ...]"
4949
#ifdef __clang__
5050
std::string_view front("[T = ");
51+
std::string_view back("]");
5152
#else
5253
std::string_view front("[with T = ");
53-
#endif
5454
std::string_view back("; std::string_view =");
55+
#endif
5556

5657
#elif defined(_MSC_VER)
5758
#define DUMP_EXPR_SHOW_TYPE

0 commit comments

Comments
 (0)