[Lldb-commits] [lldb] [lldb] Add GetPointerDiffType to TypeSystemClang (PR #185314)
Ilia Kuklin via lldb-commits
lldb-commits at lists.llvm.org
Mon Mar 9 15:48:03 PDT 2026
================
@@ -2401,6 +2401,15 @@ CompilerType TypeSystemClang::GetPointerSizedIntType(bool is_signed) {
getASTContext().getTypeSize(getASTContext().VoidPtrTy), is_signed);
}
+CompilerType TypeSystemClang::GetPointerDiffType(bool is_signed) {
+ if (!getASTContext().VoidPtrTy)
+ return {};
----------------
kuilpd wrote:
All the other function do this check exactly the same way, so I just copied it.
https://github.com/llvm/llvm-project/pull/185314
More information about the lldb-commits
mailing list