diff options
Diffstat (limited to 'include/clang/Sema/ScopeInfo.h')
-rw-r--r-- | include/clang/Sema/ScopeInfo.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/clang/Sema/ScopeInfo.h b/include/clang/Sema/ScopeInfo.h index 2015ce7fc4..5008999e7f 100644 --- a/include/clang/Sema/ScopeInfo.h +++ b/include/clang/Sema/ScopeInfo.h @@ -276,9 +276,11 @@ public: /// explicit captures. unsigned NumExplicitCaptures; + bool Mutable; + LambdaScopeInfo(DiagnosticsEngine &Diag, CXXRecordDecl *Lambda) : CapturingScopeInfo(Diag, ImpCap_None), Lambda(Lambda), - NumExplicitCaptures(0) + NumExplicitCaptures(0), Mutable(false) { Kind = SK_Lambda; } |