summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang/include/clang/Sema/Sema.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/clang/include/clang/Sema/Sema.h b/clang/include/clang/Sema/Sema.h
index 45f62e2be83..166f23b9768 100644
--- a/clang/include/clang/Sema/Sema.h
+++ b/clang/include/clang/Sema/Sema.h
@@ -896,6 +896,19 @@ public:
NumTypos(0),
ManglingContextDecl(ManglingContextDecl), MangleNumbering() { }
+ // FIXME: This is here only to make MSVC 2013 happy. Remove it and rely on
+ // the default move constructor once MSVC 2013 is gone.
+ ExpressionEvaluationContextRecord(ExpressionEvaluationContextRecord &&E)
+ : Context(E.Context), ParentCleanup(E.ParentCleanup),
+ IsDecltype(E.IsDecltype), NumCleanupObjects(E.NumCleanupObjects),
+ NumTypos(E.NumTypos),
+ SavedMaybeODRUseExprs(std::move(E.SavedMaybeODRUseExprs)),
+ Lambdas(std::move(E.Lambdas)),
+ ManglingContextDecl(E.ManglingContextDecl),
+ MangleNumbering(std::move(E.MangleNumbering)),
+ DelayedDecltypeCalls(std::move(E.DelayedDecltypeCalls)),
+ DelayedDecltypeBinds(std::move(E.DelayedDecltypeBinds)) {}
+
/// \brief Retrieve the mangling numbering context, used to consistently
/// number constructs like lambdas for mangling.
MangleNumberingContext &getMangleNumberingContext(ASTContext &Ctx);
OpenPOWER on IntegriCloud