[cfe-commits] r104829 - /cfe/trunk/include/clang/AST/Stmt.h

Abramo Bagnara abramo.bagnara at gmail.com
Thu May 27 00:42:50 PDT 2010


Author: abramo
Date: Thu May 27 02:42:50 2010
New Revision: 104829

URL: http://llvm.org/viewvc/llvm-project?rev=104829&view=rev
Log:
Fixed missing initialization of member. Should we enable unused argument warning?.

Modified:
    cfe/trunk/include/clang/AST/Stmt.h

Modified: cfe/trunk/include/clang/AST/Stmt.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/Stmt.h?rev=104829&r1=104828&r2=104829&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/Stmt.h (original)
+++ cfe/trunk/include/clang/AST/Stmt.h Thu May 27 02:42:50 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 cfe-commits mailing list