projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b55b47
)
[clang][Interp][NFC] Print Pointee address of Pointer
author
Timm Bäder
<tbaeder@redhat.com>
Mon, 26 Dec 2022 11:00:52 +0000
(12:00 +0100)
committer
Timm Bäder
<tbaeder@redhat.com>
Wed, 11 Jan 2023 11:01:32 +0000
(12:01 +0100)
clang/lib/AST/Interp/Pointer.h
patch
|
blob
|
history
diff --git
a/clang/lib/AST/Interp/Pointer.h
b/clang/lib/AST/Interp/Pointer.h
index
09738fb
..
38341ae
100644
(file)
--- 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