From 872eb55f5e4bd11a8263c5d27c14b45ed0d2f86c Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 27 Jul 2008 00:48:22 +0000 Subject: make "call foo.dump()" and "call foo->dump()" work in GDB, with QualTypes and Types. llvm-svn: 54116 --- clang/lib/Sema/SemaExpr.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'clang/lib/Sema/SemaExpr.cpp') diff --git a/clang/lib/Sema/SemaExpr.cpp b/clang/lib/Sema/SemaExpr.cpp index 37e4ec715bd..56632d1d772 100644 --- a/clang/lib/Sema/SemaExpr.cpp +++ b/clang/lib/Sema/SemaExpr.cpp @@ -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()); } -- cgit v1.2.3