make "call foo.dump()" and "call foo->dump()" work in GDB,
with QualTypes and Types. llvm-svn: 54116
This commit is contained in:
@@ -2052,6 +2052,7 @@ QualType Sema::CheckAddressOfOperand(Expr *op, SourceLocation OpLoc) {
|
||||
} else
|
||||
assert(0 && "Unknown/unexpected decl type");
|
||||
}
|
||||
|
||||
// If the operand has type "type", the result has type "pointer to type".
|
||||
return Context.getPointerType(op->getType());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user