Commit c5d110d6 authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Don't check for undefined symbols in CppModelManager.

parent bfba2564
......@@ -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)
......
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