Commit 16b1e8b4 authored by Roberto Raggi's avatar Roberto Raggi

Renamed Symboo::isScopedSymbol().

parent b2baaee4
......@@ -177,7 +177,7 @@ QVariant OverviewModel::data(const QModelIndex &index, int role) const
name = QLatin1Char('+') + name;
else
name = QLatin1Char('-') + name;
} else if (! symbol->isScopedSymbol() || symbol->isFunction()) {
} else if (! symbol->isScope() || symbol->isFunction()) {
QString type = _overview.prettyType(symbol->type());
if (! type.isEmpty()) {
if (! symbol->type()->isFunctionType())
......
......@@ -84,7 +84,7 @@ static void debugCppSymbolRecursion(QTextStream &str, const Overview &o,
str << " declaration";
if (s.isBlock())
str << " block";
if (doRecurse && s.isScopedSymbol()) {
if (doRecurse && s.isScope()) {
const Scope *scoped = s.asScope();
const int size = scoped->memberCount();
str << " scoped symbol of " << size << '\n';
......
......@@ -344,7 +344,7 @@ bool Symbol::isProtected() const
bool Symbol::isPrivate() const
{ return _visibility == Private; }
bool Symbol::isScopedSymbol() const
bool Symbol::isScope() const
{ return asScope() != 0; }
bool Symbol::isEnum() const
......
......@@ -156,8 +156,8 @@ public:
/// Returns true if this Symbol's visibility is private.
bool isPrivate() const;
/// Returns true if this Symbol is a ScopedSymbol.
bool isScopedSymbol() const;
/// Returns true if this Symbol is a Scope.
bool isScope() const;
/// Returns true if this Symbol is an Enum.
bool isEnum() const;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment