forked from qt-creator/qt-creator
Remove "icheck build" test.
Does not build, is not being maintained, purpose is unclear. Change-Id: I00f3bbc9580b57e3945882a411af502a78f4864f Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
committed by
Eike Ziller
parent
6e09fa8c70
commit
0d2b1aedeb
@@ -34,26 +34,19 @@
|
||||
#include "cpptools_global.h"
|
||||
#include "cpptoolsconstants.h"
|
||||
#include "ModelManagerInterface.h"
|
||||
#ifndef ICHECK_BUILD
|
||||
# include <projectexplorer/project.h>
|
||||
#endif
|
||||
#include <projectexplorer/project.h>
|
||||
#include <cplusplus/CppDocument.h>
|
||||
#include <cplusplus/PreprocessorClient.h>
|
||||
#ifndef ICHECK_BUILD
|
||||
# include <texteditor/basetexteditor.h>
|
||||
#endif
|
||||
#include <texteditor/basetexteditor.h>
|
||||
#include <cplusplus/PreprocessorEnvironment.h>
|
||||
#include <cplusplus/pp-engine.h>
|
||||
#ifdef ICHECK_BUILD
|
||||
# include "parsemanager.h"
|
||||
#else
|
||||
# include <QHash>
|
||||
# include <QFutureInterface>
|
||||
# include <QFutureSynchronizer>
|
||||
# include <QMutex>
|
||||
# include <QTimer>
|
||||
# include <QTextEdit> // for QTextEdit::ExtraSelection
|
||||
#endif
|
||||
|
||||
#include <QHash>
|
||||
#include <QFutureInterface>
|
||||
#include <QFutureSynchronizer>
|
||||
#include <QMutex>
|
||||
#include <QTimer>
|
||||
#include <QTextEdit> // for QTextEdit::ExtraSelection
|
||||
|
||||
namespace Core {
|
||||
class IEditor;
|
||||
@@ -83,7 +76,6 @@ class CppEditorSupport;
|
||||
class CppPreprocessor;
|
||||
class CppFindReferences;
|
||||
|
||||
#ifndef ICHECK_BUILD
|
||||
class CPPTOOLS_EXPORT CppModelManager : public CPlusPlus::CppModelManagerInterface
|
||||
{
|
||||
Q_OBJECT
|
||||
@@ -255,16 +247,11 @@ private:
|
||||
CppHighlightingSupportFactory *m_highlightingFactory;
|
||||
CppHighlightingSupportFactory *m_highlightingFallback;
|
||||
};
|
||||
#endif
|
||||
|
||||
class CPPTOOLS_EXPORT CppPreprocessor: public CPlusPlus::Client
|
||||
{
|
||||
public:
|
||||
#ifndef ICHECK_BUILD
|
||||
CppPreprocessor(QPointer<CppModelManager> modelManager, bool dumpFileNameWhileParsing = false);
|
||||
#else
|
||||
CppPreprocessor(QPointer<CPlusPlus::ParseManager> modelManager);
|
||||
#endif
|
||||
virtual ~CppPreprocessor();
|
||||
|
||||
void setRevision(unsigned revision);
|
||||
@@ -313,9 +300,7 @@ protected:
|
||||
virtual void sourceNeeded(unsigned line, QString &fileName, IncludeType type);
|
||||
|
||||
private:
|
||||
#ifndef ICHECK_BUILD
|
||||
QPointer<CppModelManager> m_modelManager;
|
||||
#endif
|
||||
bool m_dumpFileNameWhileParsing;
|
||||
CPlusPlus::Environment env;
|
||||
CPlusPlus::Preprocessor preprocess;
|
||||
|
Reference in New Issue
Block a user