[all-commits] [llvm/llvm-project] 950f1b: [lldb] Add SubstTemplateTypeParm to RemoveWrapping...
Raphael Isemann via All-commits
all-commits at lists.llvm.org
Tue Aug 11 05:32:21 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 950f1bf976b332eca60267b25bf759e2ad564e0c
https://github.com/llvm/llvm-project/commit/950f1bf976b332eca60267b25bf759e2ad564e0c
Author: Raphael Isemann <teemperor at gmail.com>
Date: 2020-08-11 (Tue, 11 Aug 2020)
Changed paths:
M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
A lldb/test/API/lang/cpp/subst_template_type_param/TestSubstTemplateTypeParam.py
Log Message:
-----------
[lldb] Add SubstTemplateTypeParm to RemoveWrappingTypes
Like the other type sugar removed by RemoveWrappingTypes, SubstTemplateTypeParm
is just pure sugar that should be ignored. If we don't ignore it (as we do now),
LLDB will fail to read values from record fields that have a
SubstTemplateTypeParm type.
Only way to produce such a type in LLDB is to either use the `import-std-module`
setting to get a template into the expression parser or just create your own
template directly in the expression parser which is what we do in the test.
Reviewed By: jarin
Differential Revision: https://reviews.llvm.org/D85132
More information about the All-commits
mailing list