aprantl added inline comments.
================
Comment at: lit/Expr/TestMultilineExpr.test:9
+# CHECK: (lldb) expression
+# CHECK-NEXT: Enter expressions, then terminate with an empty line to evaluate:
+# CHECK-NEXT: (int) {{.*}} = 5
----------------
sgraenitz wrote:
> Maybe it's nitpicking, but I'd actually prefer not to match this specific
> string. It could be any human-readable instruction. However, if I replace it
> with `{{.*}}` lit will complain that the match doesn't start on the next line:
> ```
> TestMultilineExpr.test:9:15: error: CHECK-NEXT: is on the same line as
> previous match
> # CHECK-NEXT: {{.*}}
> ^
> <stdin>:9:18: note: 'next' match was here
> (lldb) expression
> ^
> <stdin>:9:18: note: previous match ended here
> (lldb) expression
> ^
> ```
>
> Any ideas how to get it right?
why not:
```
# CHECK: (lldb) expression
# CHECK: (int) {{.*}} = 5
```
?
https://reviews.llvm.org/D52270
_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits