llvm-project/lldb/unittests/Symbol
Jonas Devlieghere b706f56133
[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
2022-08-16 18:10:14 -07:00
..
Inputs
CMakeLists.txt Added the ability to cache the finalized symbol tables subsequent debug sessions to start faster. 2021-12-16 09:59:55 -08:00
LocateSymbolFileTest.cpp
MangledTest.cpp Added the ability to cache the finalized symbol tables subsequent debug sessions to start faster. 2021-12-16 09:59:55 -08:00
PostfixExpressionTest.cpp Cleanup LLVMDWARFDebugInfo 2022-02-15 09:16:03 +01:00
SymbolTest.cpp Added the ability to cache the finalized symbol tables subsequent debug sessions to start faster. 2021-12-16 09:59:55 -08:00
SymtabTest.cpp Fix the encoding and decoding of UniqueCStringMap<T> objects when saved to cache files. 2022-04-29 11:31:47 -07:00
TestClangASTImporter.cpp [lldb] Fix typos. NFC. 2021-05-31 06:48:57 +07:00
TestDWARFCallFrameInfo.cpp
TestLineEntry.cpp [lldb] Return all line entries matchign a line if no column is specified 2021-08-30 14:45:46 +02:00
TestType.cpp
TestTypeSystem.cpp [lldb] Add tests for TypeSystemMap::GetTypeSystemForLanguage 2021-08-16 18:00:01 +02:00
TestTypeSystemClang.cpp [lldb] Automatically unwrap parameter packs in template argument accessors 2022-08-16 18:10:14 -07:00