mirror of
https://github.com/intel/llvm.git
synced 2026-02-05 04:04:23 +08:00
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
This commit is contained in:
@@ -651,12 +651,13 @@ private:
|
||||
|
||||
class SymbolVisitor {
|
||||
protected:
|
||||
SymbolVisitor() = default;
|
||||
SymbolVisitor(const SymbolVisitor &) = default;
|
||||
SymbolVisitor(SymbolVisitor &&) {}
|
||||
~SymbolVisitor() = default;
|
||||
|
||||
public:
|
||||
SymbolVisitor() = default;
|
||||
SymbolVisitor(const SymbolVisitor &) = default;
|
||||
SymbolVisitor(SymbolVisitor &&) {}
|
||||
|
||||
/// \brief A visitor method invoked by ProgramStateManager::scanReachableSymbols.
|
||||
///
|
||||
/// The method returns \c true if symbols should continue be scanned and \c
|
||||
|
||||
Reference in New Issue
Block a user