aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorMatheus Izvekov <mizvekov@gmail.com>2024-05-29 15:23:44 -0300
committerGitHub <noreply@github.com>2024-05-29 15:23:44 -0300
commit1a2f3309765fdc143fdc3809211fb85d2e2ca341 (patch)
tree16b4ffc385ef06bf8e1d0493c8e4e65b1c205594 /llvm/lib/CodeGen/MachineFunction.cpp
parent3313f28897a87ec313ec0b52ef71c14d3b9ff652 (diff)
downloadllvm-1a2f3309765fdc143fdc3809211fb85d2e2ca341.zip
llvm-1a2f3309765fdc143fdc3809211fb85d2e2ca341.tar.gz
llvm-1a2f3309765fdc143fdc3809211fb85d2e2ca341.tar.bz2
[clang] Improve ast-dumper text printing of TemplateArgument (#93431)
This improves and unifies our approach to printing all template arguments. The same approach to printing types is extended to all TemplateArguments: A sugared version is printed in quotes, followed by printing the canonical form, unless they would print the same. Special improvements are done to add more detail to template template arguments. It's planned in a future patch to use this improved TemplateName printer for other places besides TemplateArguments. Note: The sugared/desugared printing does not show up for TemplateNames in tests yet, because we do a poor job of preserving their type sugar. This will be improved in a future patch.
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions