aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/GRExprEngine.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-10-31 15:33:11 +0000
committerTed Kremenek <kremenek@apple.com>2008-10-31 15:33:11 +0000
commite580c1bcc59296430bb002b75e0750f26e738933 (patch)
tree2ca5acee40d723e095a798221cd9972e5abc2151 /lib/Analysis/GRExprEngine.cpp
parent0777972d38a3125efed962b045704c30ae6965cf (diff)
Comment out invalid assertion. I'm leaving it in the code for now as a reminder to produce a test case.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58510 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/GRExprEngine.cpp')
-rw-r--r--lib/Analysis/GRExprEngine.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Analysis/GRExprEngine.cpp b/lib/Analysis/GRExprEngine.cpp
index 30a83e76ab..dc5f3faa20 100644
--- a/lib/Analysis/GRExprEngine.cpp
+++ b/lib/Analysis/GRExprEngine.cpp
@@ -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));