Commit 6300d42c authored by David Nolden's avatar David Nolden

Only closeIdentifier(..) returns a boolean value according to failure-state.

parent bac4ec43
[CMake]
CMakeDir=/home/nolden/kdedev/4.0/qt-copy/share/cmake/Modules
[Project]
Name=KDevelop
Manager=KDevCMakeManager
Name=KDevelop
......@@ -104,7 +104,7 @@ extern QMutex cppDuContextInstantiationsMutex;
/**
* Returns false if the search should be stopped due to failure.
* */
bool closeQualifiedIdentifier() {
void closeQualifiedIdentifier() {
State s = m_states.top();
m_lastDeclarations = s.result;
m_states.pop();
......@@ -122,7 +122,6 @@ extern QMutex cppDuContextInstantiationsMutex;
m_states.top().templateParameters << res;
}
}
return false;
}
/**
* The identifier must not have template identifiers, those need to be added using openQualifiedIdentifier(..) and closeQualifiedIdentifier(..)
......@@ -143,7 +142,6 @@ extern QMutex cppDuContextInstantiationsMutex;
QualifiedIdentifier lookup = s.identifier;
///Search a Declaration of the identifier
DUContext* scopeContext = 0;
if( !s.result.isEmpty() && lookup.count() == 1 ) { //When we are searching within a scope-context, no namespaces are involved any more, so we look up exactly one item at a time.
......
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