diff options
author | Richard Smith <richard@metafoo.co.uk> | 2020-11-11 17:12:18 -0800 |
---|---|---|
committer | Richard Smith <richard@metafoo.co.uk> | 2020-12-07 12:53:07 -0800 |
commit | 98f76adf4e941738c0b9fe3b9965fa63603e9c89 (patch) | |
tree | d64cbb9732c788a5506b4b7a6483eedba6864907 /llvm/lib/MC/MCCodeView.cpp | |
parent | 2ac4d0f45a2a301163ca53f3e23e675f4f5bdbd3 (diff) | |
download | llvm-98f76adf4e941738c0b9fe3b9965fa63603e9c89.zip llvm-98f76adf4e941738c0b9fe3b9965fa63603e9c89.tar.gz llvm-98f76adf4e941738c0b9fe3b9965fa63603e9c89.tar.bz2 |
Add new 'preferred_name' attribute.
This attribute permits a typedef to be associated with a class template
specialization as a preferred way of naming that class template
specialization. This permits us to specify that (for example) the
preferred way to express 'std::basic_string<char>' is as 'std::string'.
The attribute is applied to the various class templates in libc++ that have
corresponding well-known typedef names.
Differential Revision: https://reviews.llvm.org/D91311
Diffstat (limited to 'llvm/lib/MC/MCCodeView.cpp')
0 files changed, 0 insertions, 0 deletions