[cfe-commits] [PATCH][Review Request] Handle CXXForRangeStmt

Jim Goodnow II Jim at TheGoodnows.net
Tue Oct 4 13:32:28 PDT 2011


This is just a program control statement and should be handled the same 
as any other.

  - jim

Index: lib/StaticAnalyzer/Core/ExprEngine.cpp
===================================================================
--- lib/StaticAnalyzer/Core/ExprEngine.cpp    (revision 141095)
+++ lib/StaticAnalyzer/Core/ExprEngine.cpp    (working copy)
@@ -453,7 +453,6 @@
      case Stmt::CXXBindTemporaryExprClass:
      case Stmt::CXXCatchStmtClass:
      case Stmt::CXXDependentScopeMemberExprClass:
-    case Stmt::CXXForRangeStmtClass:
      case Stmt::CXXPseudoDestructorExprClass:
      case Stmt::CXXTemporaryObjectExprClass:
      case Stmt::CXXThrowExprClass:
@@ -501,6 +500,7 @@
      case Stmt::CaseStmtClass:
      case Stmt::CompoundStmtClass:
      case Stmt::ContinueStmtClass:
+    case Stmt::CXXForRangeStmtClass:
      case Stmt::DefaultStmtClass:
      case Stmt::DoStmtClass:
      case Stmt::ForStmtClass:

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ForRange.patch
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20111004/215c9b75/attachment.ksh>


More information about the cfe-commits mailing list