Don't check for undefined symbols in CppModelManager.

This commit is contained in:
Roberto Raggi
2010-05-21 11:47:50 +02:00
parent bfba256455
commit c5d110d6a3

View File

@@ -28,7 +28,6 @@
**************************************************************************/
#include <cplusplus/pp.h>
#include <cplusplus/CppBindings.h>
#include <cplusplus/Overview.h>
#include <cplusplus/CheckUndefinedSymbols.h>
@@ -291,18 +290,6 @@ public:
void operator()()
{
_doc->check(_mode);
if (_mode == Document::FullCheck) {
// run the binding pass
NamespaceBindingPtr ns = bind(_doc, _snapshot);
// check for undefined symbols.
CheckUndefinedSymbols checkUndefinedSymbols(_doc);
checkUndefinedSymbols.setGlobalNamespaceBinding(ns);
checkUndefinedSymbols(_doc->translationUnit()->ast()); // ### FIXME
}
_doc->releaseTranslationUnit();
if (_modelManager)