Commit 20bfb331 authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Removed deprecated code.

parent a6006148
...@@ -42,8 +42,6 @@ ...@@ -42,8 +42,6 @@
#include <QtDebug> #include <QtDebug>
//#define CPLUSPLUS_NO_LAZY_LOOKUP
using namespace CPlusPlus; using namespace CPlusPlus;
static void fullyQualifiedName_helper(Symbol *symbol, QList<const Name *> *names) static void fullyQualifiedName_helper(Symbol *symbol, QList<const Name *> *names)
...@@ -576,7 +574,6 @@ ClassOrNamespace *ClassOrNamespace::nestedClassOrNamespace(const Name *name) con ...@@ -576,7 +574,6 @@ ClassOrNamespace *ClassOrNamespace::nestedClassOrNamespace(const Name *name) con
void ClassOrNamespace::flush() void ClassOrNamespace::flush()
{ {
#ifndef CPLUSPLUS_NO_LAZY_LOOKUP
if (! _todo.isEmpty()) { if (! _todo.isEmpty()) {
const QList<Symbol *> todo = _todo; const QList<Symbol *> todo = _todo;
_todo.clear(); _todo.clear();
...@@ -584,7 +581,6 @@ void ClassOrNamespace::flush() ...@@ -584,7 +581,6 @@ void ClassOrNamespace::flush()
foreach (Symbol *member, todo) foreach (Symbol *member, todo)
_factory->process(member, this); _factory->process(member, this);
} }
#endif
} }
void ClassOrNamespace::addSymbol(Symbol *symbol) void ClassOrNamespace::addSymbol(Symbol *symbol)
...@@ -697,11 +693,7 @@ void CreateBindings::process(Symbol *s, ClassOrNamespace *classOrNamespace) ...@@ -697,11 +693,7 @@ void CreateBindings::process(Symbol *s, ClassOrNamespace *classOrNamespace)
void CreateBindings::process(Symbol *symbol) void CreateBindings::process(Symbol *symbol)
{ {
#ifndef CPLUSPLUS_NO_LAZY_LOOKUP
_currentClassOrNamespace->addTodo(symbol); _currentClassOrNamespace->addTodo(symbol);
#else
accept(symbol);
#endif
} }
Control *CreateBindings::control() const Control *CreateBindings::control() const
......
Supports Markdown
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