summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorFelipe de Azevedo Piovezan <fpiovezan@apple.com>2024-03-18 14:34:08 -0700
committerGitHub <noreply@github.com>2024-03-18 14:34:08 -0700
commit65d444b9edb895443754c13d9c008af180eb5c71 (patch)
tree2302af61a84e4ec7fbcc3ee54adbafb328bf28f5 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent8b8e1adbdecd5f37ebcaa8d4fdf333962f7a0eb7 (diff)
[lldb][nfc] Factor out repeated code in DWIM Print (#85669)
The code that prints ValueObjects is duplicated across two different cases of the dwim-print command, and a subsequent commit will add a third case. As such, this commit factors out the common code into a lambda. A free function was considered, but there is too much function-local context required in that. We also reword some of the comments so that they stop counting cases, making it easier to add other cases later.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions