diff options
author | David Blaikie <dblaikie@gmail.com> | 2015-08-13 22:50:09 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2015-08-13 22:50:09 +0000 |
commit | 903c29347ac721ce28b4e455b30f256de2839ed0 (patch) | |
tree | 308c4b852d6427ce43d7cb1c1989bbfac254e056 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 01cd46abaee65965eca85fe4987c24f7022ad71c (diff) | |
download | llvm-903c29347ac721ce28b4e455b30f256de2839ed0.zip llvm-903c29347ac721ce28b4e455b30f256de2839ed0.tar.gz llvm-903c29347ac721ce28b4e455b30f256de2839ed0.tar.bz2 |
Wdeprecated: CollectReachableSymbolsCallback are move constructed/returned by value, so make sure they're copy/moveable
(return by value is in ExprEngine::processPointerEscapedOnBind and any
other call to the scanReachableSymbols function template used there)
Protect the special members in the base class to avoid slicing, and make
derived classes final so these special members don't accidentally become
public on an intermediate base which would open up the possibility of
slicing again.
llvm-svn: 244975
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions