diff options
| author | Harald van Dijk <harald@gigawatt.nl> | 2022-05-02 18:07:47 +0100 |
|---|---|---|
| committer | Harald van Dijk <harald@gigawatt.nl> | 2022-05-02 18:07:47 +0100 |
| commit | fed7be096f8ed5d70029acd712ac19ffc61e04e5 (patch) | |
| tree | d049b9923e108bc58ff9c10c06d0bfbb9a865dfc /llvm/lib/Object/Binary.cpp | |
| parent | 2534dc120a4c9468d9a0044665a50361089f0a4d (diff) | |
| download | llvm-fed7be096f8ed5d70029acd712ac19ffc61e04e5.zip llvm-fed7be096f8ed5d70029acd712ac19ffc61e04e5.tar.gz llvm-fed7be096f8ed5d70029acd712ac19ffc61e04e5.tar.bz2 | |
Mark identifier prefixes as substitutable
The Itanium C++ ABI says prefixes are substitutable. For most prefixes
we already handle this: the manglePrefix(const DeclContext *, bool) and
manglePrefix(QualType) overloads explicitly handles substitutions or
defer to functions that handle substitutions on their behalf. The
manglePrefix(NestedNameSpecifier *) overload, however, is different and
handles some cases implicitly, but not all. The Identifier case was not
handled; this change adds handling for it, as well as a test case.
Reviewed By: erichkeane
Differential Revision: https://reviews.llvm.org/D122663
Diffstat (limited to 'llvm/lib/Object/Binary.cpp')
0 files changed, 0 insertions, 0 deletions
