[Lldb-commits] [lldb] [lldb] Add SB API to access static constexpr member values (PR #89730)
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Tue Apr 23 04:57:03 PDT 2024
================
@@ -1156,6 +1159,10 @@ CompilerType TypeSystemClang::GetTypeForDecl(ObjCInterfaceDecl *decl) {
return GetType(getASTContext().getObjCInterfaceType(decl));
}
+CompilerType TypeSystemClang::GetTypeForDecl(clang::ValueDecl *value_decl) {
----------------
labath wrote:
ValueDecl is a base of VarDecl. For this patch I only need to know the types of `VarDecl`s, but I figured I could use the lowest class that does the trick (defines `getType`), in case that's useful in the future.
https://github.com/llvm/llvm-project/pull/89730
More information about the lldb-commits
mailing list