summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2015-08-13 22:58:35 +0000
committerDavid Blaikie <dblaikie@gmail.com>2015-08-13 22:58:35 +0000
commit048f975e2bc43874996f770b2c0dd0609ea14be1 (patch)
tree027c866a9adb3eb08e2446bbe2be48ed1efc21f5 /clang
parenta75c41e5f3aeaed2b18c900bad26bb8e698e2b5a (diff)
downloadbcm5719-llvm-048f975e2bc43874996f770b2c0dd0609ea14be1.tar.gz
bcm5719-llvm-048f975e2bc43874996f770b2c0dd0609ea14be1.zip
Follow up r244975: The ctors of an abstract class don't need to be protected - the object isn't directly constructible/doesn't present a slicing risk
llvm-svn: 244978
Diffstat (limited to 'clang')
-rw-r--r--clang/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h b/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h
index e709b1f589b..05de02db592 100644
--- a/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h
+++ b/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h
@@ -651,12 +651,13 @@ private:
class SymbolVisitor {
protected:
+ ~SymbolVisitor() = default;
+
+public:
SymbolVisitor() = default;
SymbolVisitor(const SymbolVisitor &) = default;
SymbolVisitor(SymbolVisitor &&) {}
- ~SymbolVisitor() = default;
-public:
/// \brief A visitor method invoked by ProgramStateManager::scanReachableSymbols.
///
/// The method returns \c true if symbols should continue be scanned and \c
OpenPOWER on IntegriCloud