[cfe-commits] r55150 - /cfe/trunk/lib/Analysis/Environment.cpp

Zhongxing Xu xuzhongxing at gmail.com
Thu Aug 21 16:00:21 PDT 2008


Author: zhongxingxu
Date: Thu Aug 21 18:00:21 2008
New Revision: 55150

URL: http://llvm.org/viewvc/llvm-project?rev=55150&view=rev
Log:
Modify comments.

Modified:
    cfe/trunk/lib/Analysis/Environment.cpp

Modified: cfe/trunk/lib/Analysis/Environment.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/Environment.cpp?rev=55150&r1=55149&r2=55150&view=diff

==============================================================================
--- cfe/trunk/lib/Analysis/Environment.cpp (original)
+++ cfe/trunk/lib/Analysis/Environment.cpp Thu Aug 21 18:00:21 2008
@@ -139,8 +139,9 @@
       // 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;





More information about the cfe-commits mailing list