[cfe-commits] r103358 - /cfe/trunk/include/clang/Parse/Action.h

Douglas Gregor dgregor at apple.com
Sat May 8 15:24:24 PDT 2010


Author: dgregor
Date: Sat May  8 17:24:24 2010
New Revision: 103358

URL: http://llvm.org/viewvc/llvm-project?rev=103358&view=rev
Log:
Attempted workaround for MSVC compile error

Modified:
    cfe/trunk/include/clang/Parse/Action.h

Modified: cfe/trunk/include/clang/Parse/Action.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Parse/Action.h?rev=103358&r1=103357&r2=103358&view=diff
==============================================================================
--- cfe/trunk/include/clang/Parse/Action.h (original)
+++ cfe/trunk/include/clang/Parse/Action.h Sat May  8 17:24:24 2010
@@ -134,6 +134,13 @@
     explicit FullExprArg(ExprArg expr)
       : Expr(move(expr)) {}
 
+#if defined(_MSC_VER)
+    // Last tested with Visual Studio 2008.
+    // Visual C++ complains about the operator= above, claiming that Expr
+    // is not accessible.
+  public:
+#endif
+    
     ExprArg Expr;
   };
 





More information about the cfe-commits mailing list