mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-16 17:26:35 +00:00

This improves the demangling for non-type template arguments that contain string literals. Previously we'd produce char [4]{(char)65, (char)66, (char)67} (which isn't valid C or C++), and now we produce `"ABC"`. The new demangling is always shorter, even when using an escape sequence for every character, and much more readable when the char array contains text.