forked from OSchip/llvm-project
b706f56133
When looking at template arguments in LLDB, we usually care about what the user passed in his code, not whether some of those arguments where passed as a variadic parameter pack. This patch extends all the C++ APIs to look at template parameters to take an additional 'expand_pack' boolean that automatically unwraps the potential argument packs. The equivalent SBAPI calls have been changed to pass true for this parameter. A byproduct of the patch is to also fix the support for template type that have only a parameter pack as argument (like the OnlyPack type in the test). Those were not recognized as template instanciations before. The added test verifies that the SBAPI is able to iterate over the arguments of a variadic template. The original patch was written by Fred Riss almost 4 years ago. Differential revision: https://reviews.llvm.org/D51387 |
||
---|---|---|
.. | ||
Inputs | ||
CMakeLists.txt | ||
LocateSymbolFileTest.cpp | ||
MangledTest.cpp | ||
PostfixExpressionTest.cpp | ||
SymbolTest.cpp | ||
SymtabTest.cpp | ||
TestClangASTImporter.cpp | ||
TestDWARFCallFrameInfo.cpp | ||
TestLineEntry.cpp | ||
TestType.cpp | ||
TestTypeSystem.cpp | ||
TestTypeSystemClang.cpp |