]> granicus.if.org Git - clang/commit
Wdeprecated: LambdaScopeInfos need to be copied, so make the ScopeInfo hierarchy...
authorDavid Blaikie <dblaikie@gmail.com>
Wed, 12 Aug 2015 23:59:02 +0000 (23:59 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Wed, 12 Aug 2015 23:59:02 +0000 (23:59 +0000)
commit30a7ec2d1f756162b0cb56028e9e47e4a404d811
treeaa98255097e961ee3b4ac63f686a972cdc1ea803
parentbc09bae0bcee1743681e8bdeb96bc47205323563
Wdeprecated: LambdaScopeInfos need to be copied, so make the ScopeInfo hierarchy safely copyable

Making the base class's copy ctor protected and the derived classes
final to avoid any slicing-prone APIs.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244843 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/ScopeInfo.h