[cfe-commits] r113448 - /cfe/trunk/lib/AST/Stmt.cpp

Ted Kremenek kremenek at apple.com
Wed Sep 8 17:06:01 PDT 2010


Author: kremenek
Date: Wed Sep  8 19:06:01 2010
New Revision: 113448

URL: http://llvm.org/viewvc/llvm-project?rev=113448&view=rev
Log:
Initialize 'AllEnumCasesCovered' in SwitchStmt's constructor.

Modified:
    cfe/trunk/lib/AST/Stmt.cpp

Modified: cfe/trunk/lib/AST/Stmt.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/Stmt.cpp?rev=113448&r1=113447&r2=113448&view=diff
==============================================================================
--- cfe/trunk/lib/AST/Stmt.cpp (original)
+++ cfe/trunk/lib/AST/Stmt.cpp Wed Sep  8 19:06:01 2010
@@ -530,7 +530,7 @@
 }
 
 SwitchStmt::SwitchStmt(ASTContext &C, VarDecl *Var, Expr *cond) 
-  : Stmt(SwitchStmtClass), FirstCase(0) 
+  : Stmt(SwitchStmtClass), FirstCase(0), AllEnumCasesCovered(0) 
 {
   setConditionVariable(C, Var);
   SubExprs[COND] = reinterpret_cast<Stmt*>(cond);





More information about the cfe-commits mailing list