[Lldb-commits] [PATCH] D11498: Print reference values on one line.
Enrico Granata
granata.enrico at gmail.com
Fri Jul 24 15:41:36 PDT 2015
granata.enrico added a subscriber: granata.enrico.
granata.enrico added a comment.
I am assuming that your intent is:
int x = 1;
int& y = 1;
(lldb) frame variable y
(int&) y = 0x123456 (y = 1)
If so, two things:
a) a much better way would be to make FormatManager::ShouldPrintAsOneLiner() decide that a T& can be printed on one-line iff the referenced thing can
b) test cases would be great
If I am reading your intent wrong, can you please elaborate on what you're trying to achieve?
I would really appreciate if you didn't commit this.
http://reviews.llvm.org/D11498
More information about the lldb-commits
mailing list