aboutsummaryrefslogtreecommitdiff
path: root/lib/Frontend/PrintParserCallbacks.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-08-18 16:11:00 +0000
committerAnders Carlsson <andersca@mac.com>2009-08-18 16:11:00 +0000
commitf53b4433abb7a3bc14c0329d3175cbc291280137 (patch)
tree3317c19d86123867b103180d2602de3c4f5af700 /lib/Frontend/PrintParserCallbacks.cpp
parent292a5c04694ebf0cfcf41f5afe7e3db27019260e (diff)
Change ActOnReturnStmt to not take a FullExprArg. Instead, Sema will wrap the return expr inside a CXXExprWithTemporaries if needed.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79342 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/PrintParserCallbacks.cpp')
-rw-r--r--lib/Frontend/PrintParserCallbacks.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Frontend/PrintParserCallbacks.cpp b/lib/Frontend/PrintParserCallbacks.cpp
index 9d6ea73eef..126cdd3fdd 100644
--- a/lib/Frontend/PrintParserCallbacks.cpp
+++ b/lib/Frontend/PrintParserCallbacks.cpp
@@ -374,7 +374,7 @@ namespace {
return StmtEmpty();
}
virtual OwningStmtResult ActOnReturnStmt(SourceLocation ReturnLoc,
- FullExprArg RetValExp) {
+ ExprArg RetValExp) {
Out << __FUNCTION__ << "\n";
return StmtEmpty();
}