================
@@ -5997,6 +6041,13 @@ static void print_elem(raw_ostream &OS, 
StmtPrinterHelper &Helper,
     OS << " (Lifetime ends)";
----------------
AbhinavPradeep wrote:

I have it such that for this code we would see the lifetime marker:

```
  ...
  16: (FullExprCleanup collected 3 MTEs: [B1.7], [B1.13], 
std::allocator<char>())
  ...
```

That is, we print the block index when tracked, and otherwise fall back to 
pretty printing the sub expression. Does this sound good?

https://github.com/llvm/llvm-project/pull/177985
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to