diff options
author | Chris Lattner <sabre@nondot.org> | 2008-07-27 00:48:22 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-07-27 00:48:22 +0000 |
commit | 872eb55f5e4bd11a8263c5d27c14b45ed0d2f86c (patch) | |
tree | eede5288af79de7f07820d17062a51c214129488 /clang/lib/Sema/SemaExpr.cpp | |
parent | e80159da05f33afda83857c61515957baa4c15a4 (diff) | |
download | bcm5719-llvm-872eb55f5e4bd11a8263c5d27c14b45ed0d2f86c.tar.gz bcm5719-llvm-872eb55f5e4bd11a8263c5d27c14b45ed0d2f86c.zip |
make "call foo.dump()" and "call foo->dump()" work in GDB,
with QualTypes and Types.
llvm-svn: 54116
Diffstat (limited to 'clang/lib/Sema/SemaExpr.cpp')
-rw-r--r-- | clang/lib/Sema/SemaExpr.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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()); } |