aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/GRExprEngine.cpp
diff options
context:
space:
mode:
authorZhongxing Xu <xuzhongxing@gmail.com>2009-11-22 13:30:10 +0000
committerZhongxing Xu <xuzhongxing@gmail.com>2009-11-22 13:30:10 +0000
commit23e3156a5877e0d18c971f3c4396ea9d4bde9919 (patch)
tree5193f74bf92fc9d55e74740e344c34aefb72cc9f /lib/Analysis/GRExprEngine.cpp
parentf605aae3227ffa3a5dae8eb34fdd79ba0a0d19d1 (diff)
Remove invalid comments. The result is undefined only when operands are undefined.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89591 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/GRExprEngine.cpp')
-rw-r--r--lib/Analysis/GRExprEngine.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Analysis/GRExprEngine.cpp b/lib/Analysis/GRExprEngine.cpp
index f5fe8d0371..518b57b747 100644
--- a/lib/Analysis/GRExprEngine.cpp
+++ b/lib/Analysis/GRExprEngine.cpp
@@ -2711,8 +2711,6 @@ void GRExprEngine::VisitBinaryOperator(BinaryOperator* B,
state = state->BindExpr(B, Result);
if (Result.isUndef()) {
- // The operands were *not* undefined, but the result is undefined.
- // This is a special node that should be flagged as an error.
if (ExplodedNode *UndefNode = Builder->generateNode(B, state, *I2)){
UndefNode->markAsSink();
UndefResults.insert(UndefNode);