We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 192cd68 commit 5d6acf8Copy full SHA for 5d6acf8
clang/lib/AST/Interp/Pointer.cpp
@@ -80,6 +80,7 @@ void Pointer::operator=(const Pointer &P) {
80
81
if (P.isBlockPointer()) {
82
PointeeStorage.BS = P.PointeeStorage.BS;
83
+ PointeeStorage.BS.Pointee = P.PointeeStorage.BS.Pointee;
84
85
if (PointeeStorage.BS.Pointee)
86
PointeeStorage.BS.Pointee->addPointer(this);
@@ -107,6 +108,7 @@ void Pointer::operator=(Pointer &&P) {
107
108
109
110
111
112
113
114
0 commit comments