[cfe-commits] r105382 - /cfe/trunk/lib/Checker/GRExprEngine.cpp

Zhongxing Xu xuzhongxing at gmail.com
Wed Jun 2 23:19:01 PDT 2010


Author: zhongxingxu
Date: Thu Jun  3 01:19:01 2010
New Revision: 105382

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

Modified:
    cfe/trunk/lib/Checker/GRExprEngine.cpp

Modified: cfe/trunk/lib/Checker/GRExprEngine.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Checker/GRExprEngine.cpp?rev=105382&r1=105381&r2=105382&view=diff
==============================================================================
--- cfe/trunk/lib/Checker/GRExprEngine.cpp (original)
+++ cfe/trunk/lib/Checker/GRExprEngine.cpp Thu Jun  3 01:19:01 2010
@@ -1940,7 +1940,8 @@
 
   // Finally, perform the post-condition check of the CallExpr and store
   // the created nodes in 'Dst'.
-
+  // If the callee returns a reference and we want an rvalue, skip this check
+  // and do the load.
   if (!(!asLValue && CalleeReturnsReference(CE))) {
     CheckerVisit(CE, Dst, DstTmp3, false);
     return;





More information about the cfe-commits mailing list