[all-commits] [llvm/llvm-project] 3ad865: [lldb][SBAPI] Add new SBType::GetTemplateParameter...

Michael Buch via All-commits all-commits at lists.llvm.org
Thu Feb 13 01:53:39 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3ad8657ff60b9967235ad65fdb8b767aae0e799d
      https://github.com/llvm/llvm-project/commit/3ad8657ff60b9967235ad65fdb8b767aae0e799d
  Author: Michael Buch <michaelbuch12 at gmail.com>
  Date:   2025-02-13 (Thu, 13 Feb 2025)

  Changed paths:
    M lldb/include/lldb/API/SBTarget.h
    M lldb/include/lldb/API/SBType.h
    M lldb/include/lldb/API/SBValue.h
    M lldb/source/API/SBType.cpp
    M lldb/test/API/lang/cpp/class-template-parameter-pack/TestTemplatePackArgs.py
    M lldb/test/API/lang/cpp/template-arguments/Makefile
    M lldb/test/API/lang/cpp/template-arguments/TestCppTemplateArguments.py
    M lldb/test/API/lang/cpp/template-arguments/main.cpp

  Log Message:
  -----------
  [lldb][SBAPI] Add new SBType::GetTemplateParameterValue API (#126901)

This patch adds a new API to `SBType` to retrieve the value of a
template parameter given an index. We re-use the
`TypeSystemClang::GetIntegralTemplateArgument` for this and thus
currently only supports integral non-type template parameters. Types
like float/double are not supported yet.

rdar://144395216



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list