]> granicus.if.org Git - clang/commitdiff
Comment out invalid assertion. I'm leaving it in the code for now as a reminder...
authorTed Kremenek <kremenek@apple.com>
Fri, 31 Oct 2008 15:33:11 +0000 (15:33 +0000)
committerTed Kremenek <kremenek@apple.com>
Fri, 31 Oct 2008 15:33:11 +0000 (15:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58510 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/GRExprEngine.cpp

index 30a83e76ab7cb3e2be1be0124201d4cce939fbd7..dc5f3faa204cd1b7c7496be143a23ae38a77b28f 100644 (file)
@@ -864,7 +864,9 @@ void GRExprEngine::VisitDeclRefExpr(DeclRefExpr* Ex, NodeTy* Pred, NodeSet& Dst,
     // FIXME: Does this need to be revised?  We were getting cases in
     //  real code that did this.
 
-    assert(asLValue); // Can we assume this?
+    // FIXME: This is not a valid assertion.  Produce a test case that
+    // refutes it.
+    // assert(asLValue); // Can we assume this?
 
     SVal V = loc::FuncVal(FD);
     MakeNode(Dst, Ex, Pred, BindExpr(St, Ex, V));