summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Core/SymbolManager.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2015-08-13 22:50:09 +0000
committerDavid Blaikie <dblaikie@gmail.com>2015-08-13 22:50:09 +0000
commit903c29347ac721ce28b4e455b30f256de2839ed0 (patch)
tree308c4b852d6427ce43d7cb1c1989bbfac254e056 /clang/lib/StaticAnalyzer/Core/SymbolManager.cpp
parent01cd46abaee65965eca85fe4987c24f7022ad71c (diff)
downloadbcm5719-llvm-903c29347ac721ce28b4e455b30f256de2839ed0.tar.gz
bcm5719-llvm-903c29347ac721ce28b4e455b30f256de2839ed0.zip
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/StaticAnalyzer/Core/SymbolManager.cpp')
-rw-r--r--clang/lib/StaticAnalyzer/Core/SymbolManager.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/StaticAnalyzer/Core/SymbolManager.cpp b/clang/lib/StaticAnalyzer/Core/SymbolManager.cpp
index cca0461a474..d6f224c719a 100644
--- a/clang/lib/StaticAnalyzer/Core/SymbolManager.cpp
+++ b/clang/lib/StaticAnalyzer/Core/SymbolManager.cpp
@@ -546,5 +546,3 @@ bool SymbolReaper::isLive(const VarRegion *VR, bool includeStoreBindings) const{
return VarContext->isParentOf(CurrentContext);
}
-
-SymbolVisitor::~SymbolVisitor() {}
OpenPOWER on IntegriCloud