From 8b301b4f6b3d7068fd81f88ac001916c2f138c33 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Timm=20B=C3=A4der?= Date: Mon, 26 Dec 2022 12:00:52 +0100 Subject: [PATCH] [clang][Interp][NFC] Print Pointee address of Pointer --- clang/lib/AST/Interp/Pointer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/lib/AST/Interp/Pointer.h b/clang/lib/AST/Interp/Pointer.h index 09738fb..38341ae 100644 --- a/clang/lib/AST/Interp/Pointer.h +++ b/clang/lib/AST/Interp/Pointer.h @@ -298,7 +298,7 @@ public: /// Prints the pointer. void print(llvm::raw_ostream &OS) const { - OS << "{" << Base << ", " << Offset << ", "; + OS << Pointee << " {" << Base << ", " << Offset << ", "; if (Pointee) OS << Pointee->getSize(); else -- 2.7.4