[Lldb-commits] [lldb] [lldb][SBAPI] Add new SBType::GetTemplateParameterValue API (PR #126901)
Michael Buch via lldb-commits
lldb-commits at lists.llvm.org
Wed Feb 12 04:35:09 PST 2025
Michael137 wrote:
We now have three APIs to query template parameters: `GetTemplateParameterType`/`GetTemplateParameterKind`/`GetTemplateParameterValue`. Perhaps we could just represent a template parameter as an `SBValue` instead? And return that via a `SBType::GetTemplateParameter`. Then the type/kind/name/value can be queried off of it?
I chose the simpler approach with this patch but happy to reconsider if others feel one way or the other
https://github.com/llvm/llvm-project/pull/126901
More information about the lldb-commits
mailing list