================
@@ -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
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits