]> granicus.if.org Git - clang/commitdiff
Attempted workaround for MSVC compile error
authorDouglas Gregor <dgregor@apple.com>
Sat, 8 May 2010 22:24:24 +0000 (22:24 +0000)
committerDouglas Gregor <dgregor@apple.com>
Sat, 8 May 2010 22:24:24 +0000 (22:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@103358 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Parse/Action.h

index 8b60eed3258938f427c09f65bc4101fb219f559f..316d562cff233a770002de9739cb7ad3bd116c29 100644 (file)
@@ -134,6 +134,13 @@ public:
     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;
   };