aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/GRExprEngine.cpp
diff options
context:
space:
mode:
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));