diff options
| author | Zhongxing Xu <xuzhongxing@gmail.com> | 2008-08-21 23:00:21 +0000 |
|---|---|---|
| committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2008-08-21 23:00:21 +0000 |
| commit | 614f6a060dbe803d34380cd2d542d473cfc49b4c (patch) | |
| tree | 6962608b2baf50c1546d8c4fb6ad75773c12063a /clang/lib/Analysis | |
| parent | 29cc3aa27d861964b150ccda49a405a139763e0c (diff) | |
| download | bcm5719-llvm-614f6a060dbe803d34380cd2d542d473cfc49b4c.tar.gz bcm5719-llvm-614f6a060dbe803d34380cd2d542d473cfc49b4c.zip | |
Modify comments.
llvm-svn: 55150
Diffstat (limited to 'clang/lib/Analysis')
| -rw-r--r-- | clang/lib/Analysis/Environment.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/clang/lib/Analysis/Environment.cpp b/clang/lib/Analysis/Environment.cpp index 570a38f89e7..15a1d3659f8 100644 --- a/clang/lib/Analysis/Environment.cpp +++ b/clang/lib/Analysis/Environment.cpp @@ -139,8 +139,9 @@ EnvironmentManager::RemoveDeadBindings(Environment Env, // The block expr is dead. RVal X = I.getData(); - // Do not misclean LogicalExpr or ConditionalOperator. - // Why is it dead? Should look at LiveVariables. + // Do not misclean LogicalExpr or ConditionalOperator. It is dead at the + // beginning of itself, but we need its UndefinedVal to determine its + // RVal. if (X.isUndef() && cast<UndefinedVal>(X).getData()) continue; |

