diff options
| author | David Blaikie <dblaikie@gmail.com> | 2015-08-13 21:23:08 +0000 |
|---|---|---|
| committer | David Blaikie <dblaikie@gmail.com> | 2015-08-13 21:23:08 +0000 |
| commit | 9ae479c5218c5c04e2354f8a650d31ef3123197d (patch) | |
| tree | affdab94808aa201c62775d428837329c28f54c8 /clang/lib/Sema/ScopeInfo.cpp | |
| parent | 6646e4c193a90ccda27fac2ff4fa935d2029c275 (diff) | |
| download | bcm5719-llvm-9ae479c5218c5c04e2354f8a650d31ef3123197d.tar.gz bcm5719-llvm-9ae479c5218c5c04e2354f8a650d31ef3123197d.zip | |
Wdeprecated: LambdaScopeInfos are copied in TreeTransform, so make sure they're copyable.
Partly addressed by r244843, but the explicit dtor in LambdaScopeInfo
was still thwarting the implicit copy ctor. This does remove the key
function from LambdaScopeInfo unfortunately, but it seems neater than
having to explicitly default any special members LambdaScopeInfo needs.
llvm-svn: 244957
Diffstat (limited to 'clang/lib/Sema/ScopeInfo.cpp')
| -rw-r--r-- | clang/lib/Sema/ScopeInfo.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/Sema/ScopeInfo.cpp b/clang/lib/Sema/ScopeInfo.cpp index f80eadf18d5..ba8c3642bc8 100644 --- a/clang/lib/Sema/ScopeInfo.cpp +++ b/clang/lib/Sema/ScopeInfo.cpp @@ -234,5 +234,4 @@ void LambdaScopeInfo::getPotentialVariableCapture(unsigned Idx, VarDecl *&VD, FunctionScopeInfo::~FunctionScopeInfo() { } BlockScopeInfo::~BlockScopeInfo() { } -LambdaScopeInfo::~LambdaScopeInfo() { } CapturedRegionScopeInfo::~CapturedRegionScopeInfo() { } |

