It will make the output more versbose, but I found that these are useful
information when debugging selection tree.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang-tools-extra/clangd/Selection.cpp | ||
---|---|---|
550–551 | I don't think this belongs in printNodeToString but rather explicitly in the log statements that call it. | |
780–781 | We're already printing the range here, which only differs rarely. This seems noisy and confusing. | |
814 | are we sure we want to print the range again on pop? Seems like on enter/skip is sufficient. It's useful to be able to visually distinguish push vs pop. |
Thanks!
clang-tools-extra/clangd/Selection.cpp | ||
---|---|---|
550–551 | hmm, while here, this extra space seems weird. Previously it was at EOL and invisible. After this patch it's used, but I think it'd be clearer to move it to the format string. |
I don't think this belongs in printNodeToString but rather explicitly in the log statements that call it.