forked from qt-creator/qt-creator
		
	Don't check for undefined symbols in CppModelManager.
This commit is contained in:
		@@ -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)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user