[cfe-commits] r141967 - /cfe/trunk/lib/Sema/SemaExpr.cpp

Fariborz Jahanian fjahanian at apple.com
Fri Oct 14 11:35:31 PDT 2011


Author: fjahanian
Date: Fri Oct 14 13:35:31 2011
New Revision: 141967

URL: http://llvm.org/viewvc/llvm-project?rev=141967&view=rev
Log:
Fix misplaced comment.

Modified:
    cfe/trunk/lib/Sema/SemaExpr.cpp

Modified: cfe/trunk/lib/Sema/SemaExpr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaExpr.cpp?rev=141967&r1=141966&r2=141967&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaExpr.cpp (original)
+++ cfe/trunk/lib/Sema/SemaExpr.cpp Fri Oct 14 13:35:31 2011
@@ -7205,15 +7205,15 @@
       VK = Expr::getValueKindForType(GetterMethod->getResultType());
     }
     else {
-      // lvalue-ness of an explicit property is determined by
-      // getter type.
       Diag(PRE->getLocation(), diag::err_getter_not_found)
             << PRE->getBase()->getType();
     }
   }
   else {
+    // lvalue-ness of an explicit property is determined by
+    // getter type.
     QualType ResT = PRE->getGetterResultType();
-     VK = Expr::getValueKindForType(ResT);
+    VK = Expr::getValueKindForType(ResT);
   }
     
   E = ImplicitCastExpr::Create(Context, T, CK_GetObjCProperty,





More information about the cfe-commits mailing list