summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-05-08 22:24:24 +0000
committerDouglas Gregor <dgregor@apple.com>2010-05-08 22:24:24 +0000
commitffa56e90f8563c5a0fcc7a9a03777b5ea6fe17d6 (patch)
tree2b8fd2091a5b1893fcb53bb64be708ef07ad2965
parentff73a9e3809d81dbf752a9d6142d740b66ade619 (diff)
downloadbcm5719-llvm-ffa56e90f8563c5a0fcc7a9a03777b5ea6fe17d6.tar.gz
bcm5719-llvm-ffa56e90f8563c5a0fcc7a9a03777b5ea6fe17d6.zip
Attempted workaround for MSVC compile error
llvm-svn: 103358
-rw-r--r--clang/include/clang/Parse/Action.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/clang/include/clang/Parse/Action.h b/clang/include/clang/Parse/Action.h
index 8b60eed3258..316d562cff2 100644
--- a/clang/include/clang/Parse/Action.h
+++ b/clang/include/clang/Parse/Action.h
@@ -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;
};
OpenPOWER on IntegriCloud