Author: fjahanian
Date: Tue Aug 25 13:53:16 2009
New Revision: 80020

URL: http://llvm.org/viewvc/llvm-project?rev=80020&view=rev
Log:
Changed condition of an assert.


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=80020&r1=80019&r2=80020&view=diff

==============================================================================
--- cfe/trunk/include/clang/AST/Stmt.h (original)
+++ cfe/trunk/include/clang/AST/Stmt.h Tue Aug 25 13:53:16 2009
@@ -174,7 +174,7 @@
   
   /// \brief Destroy the current statement and its children.
   void Destroy(ASTContext &Ctx) { 
-    assert(RefCount >= 0);
+    assert(RefCount >= 1);
     if (--RefCount == 0)
       DoDestroy(Ctx); 
   }


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to