aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectThread.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2022-08-16 17:53:34 -0700
committerJonas Devlieghere <jonas@devlieghere.com>2022-08-16 18:10:14 -0700
commitb706f56133a77f9d7c55270ac24ff59e6fce3fa4 (patch)
treea173eed4f0025432b61772adced171da7b1574ce /lldb/source/Commands/CommandObjectThread.cpp
parent0af4651c0fc7d8887c7086381f6f514132899b20 (diff)
downloadllvm-b706f56133a77f9d7c55270ac24ff59e6fce3fa4.zip
llvm-b706f56133a77f9d7c55270ac24ff59e6fce3fa4.tar.gz
llvm-b706f56133a77f9d7c55270ac24ff59e6fce3fa4.tar.bz2
[lldb] Automatically unwrap parameter packs in template argument accessors
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
Diffstat (limited to 'lldb/source/Commands/CommandObjectThread.cpp')
0 files changed, 0 insertions, 0 deletions