diff options
author | Raphael Isemann <teemperor@gmail.com> | 2021-10-19 11:34:08 +0200 |
---|---|---|
committer | Raphael Isemann <teemperor@gmail.com> | 2021-10-19 11:49:47 +0200 |
commit | cfaa5c344d5bc73aae0ec39d57d98acf7463fccf (patch) | |
tree | 1eee6fa8e055adda201efde5e21649ffb9ac89c9 /llvm/lib/Demangle/MicrosoftDemangle.cpp | |
parent | e41ebbecf97ac70326dfa2c54e3ef5fa13df54eb (diff) | |
download | llvm-cfaa5c344d5bc73aae0ec39d57d98acf7463fccf.zip llvm-cfaa5c344d5bc73aae0ec39d57d98acf7463fccf.tar.gz llvm-cfaa5c344d5bc73aae0ec39d57d98acf7463fccf.tar.bz2 |
[lldb] Filter duplicates in Target::GetScratchTypeSystems
`Target::GetScratchTypeSystems` returns the list of scratch TypeSystems. The
current implementation is iterating over all LanguageType values and retrieves
the respective TypeSystem for each LanguageType.
All C/C++/Obj-C LanguageTypes are however mapped to the same
ScratchTypeSystemClang instance, so the current implementation adds this single
TypeSystem instance several times to the list of TypeSystems (once for every
LanguageType that we support).
The only observable effect of this is that `SBTarget.FindTypes` for builtin
types currently queries the ScratchTypeSystemClang several times (and also adds
the same result several times).
Reviewed By: bulbazord, labath
Differential Revision: https://reviews.llvm.org/D111931
Diffstat (limited to 'llvm/lib/Demangle/MicrosoftDemangle.cpp')
0 files changed, 0 insertions, 0 deletions