[cfe-commits] r122030 - /cfe/trunk/include/clang/AST/ExprCXX.h

Francois Pichet pichet2000 at gmail.com
Thu Dec 16 18:38:13 PST 2010


Author: fpichet
Date: Thu Dec 16 20:38:13 2010
New Revision: 122030

URL: http://llvm.org/viewvc/llvm-project?rev=122030&view=rev
Log:
Microsoft's __uuidof operator returns a lvalue. Part 2.

Modified:
    cfe/trunk/include/clang/AST/ExprCXX.h

Modified: cfe/trunk/include/clang/AST/ExprCXX.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/ExprCXX.h?rev=122030&r1=122029&r2=122030&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/ExprCXX.h (original)
+++ cfe/trunk/include/clang/AST/ExprCXX.h Thu Dec 16 20:38:13 2010
@@ -422,13 +422,13 @@
 
 public:
   CXXUuidofExpr(QualType Ty, TypeSourceInfo *Operand, SourceRange R)
-    : Expr(CXXUuidofExprClass, Ty, VK_RValue, OK_Ordinary,
+    : Expr(CXXUuidofExprClass, Ty, VK_LValue, OK_Ordinary,
            false, Operand->getType()->isDependentType(),
            Operand->getType()->containsUnexpandedParameterPack()),
       Operand(Operand), Range(R) { }
   
   CXXUuidofExpr(QualType Ty, Expr *Operand, SourceRange R)
-    : Expr(CXXUuidofExprClass, Ty, VK_RValue, OK_Ordinary,
+    : Expr(CXXUuidofExprClass, Ty, VK_LValue, OK_Ordinary,
            false, Operand->isTypeDependent(),
            Operand->containsUnexpandedParameterPack()),
       Operand(Operand), Range(R) { }





More information about the cfe-commits mailing list