[llvm-branch-commits] [cfe-branch] r105020 - /cfe/branches/Apple/whitney/include/clang/AST/Stmt.h

Daniel Dunbar daniel at zuster.org
Fri May 28 16:05:54 PDT 2010


Author: ddunbar
Date: Fri May 28 18:05:54 2010
New Revision: 105020

URL: http://llvm.org/viewvc/llvm-project?rev=105020&view=rev
Log:
Merge r104829:
--
Author: Abramo Bagnara <abramo.bagnara at gmail.com>
Date:   Thu May 27 07:42:50 2010 +0000

    Fixed missing initialization of member. Should we enable unused argument warning?.

Modified:
    cfe/branches/Apple/whitney/include/clang/AST/Stmt.h

Modified: cfe/branches/Apple/whitney/include/clang/AST/Stmt.h
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/Apple/whitney/include/clang/AST/Stmt.h?rev=105020&r1=105019&r2=105020&view=diff
==============================================================================
--- cfe/branches/Apple/whitney/include/clang/AST/Stmt.h (original)
+++ cfe/branches/Apple/whitney/include/clang/AST/Stmt.h Fri May 28 18:05:54 2010
@@ -1089,7 +1089,7 @@
   
 public:
   ReturnStmt(SourceLocation RL)
-    : Stmt(ReturnStmtClass), RetExpr(0), NRVOCandidate(0) { }
+    : Stmt(ReturnStmtClass), RetExpr(0), RetLoc(RL), NRVOCandidate(0) { }
 
   ReturnStmt(SourceLocation RL, Expr *E, const VarDecl *NRVOCandidate)
     : Stmt(ReturnStmtClass), RetExpr((Stmt*) E), RetLoc(RL),





More information about the llvm-branch-commits mailing list