[Lldb-commits] [lldb] [lldb-dap] Add valueLocationReference for member function pointers (PR #186837)
Ebuka Ezike via lldb-commits
lldb-commits at lists.llvm.org
Fri Apr 10 09:03:30 PDT 2026
================
@@ -158,6 +158,10 @@ class SBType {
bool IsFunctionType();
+ bool IsFunctionPointerType();
----------------
da-viper wrote:
> It is not clear for me that `GetPointee` works for references to functions.
References are technically pointers that cannot be null so it should work.
https://github.com/llvm/llvm-project/blob/0adf9b6f33d12e99284db70a1aef485fa6cabe3c/clang/lib/AST/Type.cpp#L754-L768
https://github.com/llvm/llvm-project/pull/186837
More information about the lldb-commits
mailing list