From 1f10962edd40e86c999f037c16137ada4d080b62 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Sat, 8 May 2010 22:24:24 +0000 Subject: [PATCH] Attempted workaround for MSVC compile error git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@103358 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/Parse/Action.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/clang/Parse/Action.h b/include/clang/Parse/Action.h index 8b60eed325..316d562cff 100644 --- a/include/clang/Parse/Action.h +++ b/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; }; -- 2.40.0