aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/WasmObjectFile.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard@metafoo.co.uk>2020-11-11 17:12:18 -0800
committerRichard Smith <richard@metafoo.co.uk>2020-12-09 12:22:35 -0800
commit2a2c228c7ada0a5d77c48b4d445ab0013ca0ae19 (patch)
treebb822e9b6f9bcabf708116dbcf0c6bafc40f6674 /llvm/lib/Object/WasmObjectFile.cpp
parent997a719d5a70100fcbbec1e51ce44cd66041bddc (diff)
downloadllvm-2a2c228c7ada0a5d77c48b4d445ab0013ca0ae19.zip
llvm-2a2c228c7ada0a5d77c48b4d445ab0013ca0ae19.tar.gz
llvm-2a2c228c7ada0a5d77c48b4d445ab0013ca0ae19.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. This is a re-commit. The previous commit was reverted because it exposed a pre-existing bug that has since been fixed / worked around; see PR48434. Differential Revision: https://reviews.llvm.org/D91311
Diffstat (limited to 'llvm/lib/Object/WasmObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions