Print an element of type ptr within an array. (ROOT-5607).
This commit is contained in:
parent
cea02a82e7
commit
e36c4e937e
@ -325,11 +325,11 @@ static void StreamValue(llvm::raw_ostream& o, const void* V,
|
||||
else if (Ty->isPointerType()) {
|
||||
clang::QualType PointeeTy = Ty->getPointeeType();
|
||||
if (PointeeTy->isCharType())
|
||||
StreamCharPtr(o, (const char*)V);
|
||||
StreamCharPtr(o, *(const char**)V);
|
||||
else if (PointeeTy->isFunctionProtoType())
|
||||
StreamFunction(o, V, PointeeTy, Interp);
|
||||
else
|
||||
StreamPtr(o, V);
|
||||
StreamPtr(o, *(void**)V);
|
||||
}
|
||||
else if (Ty->isArrayType())
|
||||
StreamArr(o, V, Ty, Interp);
|
||||
|
Loading…
Reference in New Issue
Block a user