Commit 4b0bafd6 authored by Friedemann Kleint's avatar Friedemann Kleint Committed by Erik Verbruggen
Browse files

Clean headers in CppTools.



Ran script to remove inludes on a trial-and-error basis and
manually corrected it.

Change-Id: Ic8464ea084ca1ab401e9f4a7d0183b92b4038902
Reviewed-by: default avatarErik Verbruggen <erik.verbruggen@digia.com>
parent 7d163a07
......@@ -35,8 +35,6 @@
#include <texteditor/refactoringchanges.h>
#include <cplusplus/ASTfwd.h>
#include <cplusplus/CppDocument.h>
#include <cplusplus/LookupContext.h>
namespace CppTools {
......
......@@ -35,7 +35,6 @@
#include <texteditor/semantichighlighter.h>
#include <cplusplus/CppDocument.h>
#include <cplusplus/LookupContext.h>
#include <QHash>
......
......@@ -29,18 +29,8 @@
#include "cpptoolseditorsupport.h"
#include "cppcompletionsupport.h"
#include "cpphighlightingsupport.h"
#include "cppmodelmanager.h"
#include <coreplugin/idocument.h>
#include <texteditor/itexteditor.h>
#include <texteditor/basetexteditor.h>
#include <cplusplus/AST.h>
#include <cplusplus/ASTVisitor.h>
#include <cplusplus/TranslationUnit.h>
#include <QTimer>
using namespace CppTools;
......
......@@ -30,14 +30,9 @@
#ifndef CPPTOOLSEDITORSUPPORT_H
#define CPPTOOLSEDITORSUPPORT_H
#include <cplusplus/CppDocument.h>
#include <QObject>
#include <QPointer>
#include <QFuture>
#include <QScopedPointer>
#include <QSharedPointer>
#include <QTextCursor>
QT_BEGIN_NAMESPACE
class QTimer;
......
......@@ -29,14 +29,12 @@
#include "cpptoolsplugin.h"
#include "completionsettingspage.h"
#include "cppfilesettingspage.h"
#include "cppcodestylesettingspage.h"
#include "cppclassesfilter.h"
#include "cppfunctionsfilter.h"
#include "cppcurrentdocumentfilter.h"
#include "cppmodelmanager.h"
#include "cpptoolsconstants.h"
#include "cpplocatorfilter.h"
#include "symbolsfindfilter.h"
#include "cpptoolssettings.h"
......@@ -44,36 +42,20 @@
#include <coreplugin/actionmanager/actioncontainer.h>
#include <coreplugin/actionmanager/actionmanager.h>
#include <coreplugin/actionmanager/command.h>
#include <coreplugin/coreconstants.h>
#include <coreplugin/documentmanager.h>
#include <coreplugin/editormanager/editormanager.h>
#include <coreplugin/icore.h>
#include <coreplugin/id.h>
#include <coreplugin/mimedatabase.h>
#include <coreplugin/progressmanager/progressmanager.h>
#include <coreplugin/vcsmanager.h>
#include <cppeditor/cppeditorconstants.h>
#include <find/ifindfilter.h>
#include <find/searchresultwindow.h>
#include <texteditor/basetexteditor.h>
#include <extensionsystem/pluginmanager.h>
#include <utils/filesearch.h>
#include <utils/qtcassert.h>
#include <utils/runextensions.h>
#include <QtPlugin>
#include <QFileInfo>
#include <QDir>
#include <QDebug>
#include <QSettings>
#include <QMenu>
#include <QAction>
#include <QtConcurrentRun>
#include <QFutureSynchronizer>
#include <sstream>
using namespace CPlusPlus;
......
......@@ -32,19 +32,9 @@
#include "cpptools_global.h"
#include <find/ifindfilter.h>
#include <projectexplorer/projectexplorer.h>
#include <extensionsystem/iplugin.h>
#include <utils/filesearch.h>
#include <QTextDocument>
#include <QKeySequence>
#include <QSharedPointer>
#include <QFutureInterface>
#include <QPointer>
#include <QFutureWatcher>
#include <QHash>
QT_BEGIN_NAMESPACE
class QFileInfo;
......
......@@ -29,8 +29,6 @@
#include "cpptoolsreuse.h"
#include <cplusplus/Symbols.h>
#include <cplusplus/CoreTypes.h>
#include <cplusplus/Overview.h>
#include <cplusplus/LookupContext.h>
......
......@@ -29,15 +29,8 @@
#include "doxygengenerator.h"
#include <cplusplus/AST.h>
#include <cplusplus/BackwardsScanner.h>
#include <cplusplus/CppDocument.h>
#include <cplusplus/LookupContext.h>
#include <cplusplus/Scope.h>
#include <cplusplus/SimpleLexer.h>
#include <cplusplus/Symbols.h>
#include <cplusplus/Token.h>
#include <cplusplus/TranslationUnit.h>
#include <utils/qtcassert.h>
......
......@@ -34,7 +34,6 @@
#include <cplusplus/Overview.h>
#include <QLatin1String>
#include <QTextCursor>
namespace CPlusPlus { class DeclarationAST; }
......
......@@ -30,17 +30,9 @@
#include "insertionpointlocator.h"
#include "cpptoolsreuse.h"
#include "cpprefactoringchanges.h"
#include "symbolfinder.h"
#include <coreplugin/icore.h>
#include <coreplugin/mimedatabase.h>
#include <cplusplus/AST.h>
#include <cplusplus/ASTVisitor.h>
#include <cplusplus/Literals.h>
#include <cplusplus/Symbols.h>
#include <cplusplus/TranslationUnit.h>
#include <utils/qtcassert.h>
......
......@@ -33,10 +33,6 @@
#include "cpptools_global.h"
#include "cpprefactoringchanges.h"
#include <cplusplus/ASTfwd.h>
#include <cplusplus/CPlusPlusForwardDeclarations.h>
#include <cplusplus/CppDocument.h>
namespace CppTools {
class CPPTOOLS_EXPORT InsertionLocation
......
......@@ -29,10 +29,7 @@
#include "searchsymbols.h"
#include <cplusplus/Literals.h>
#include <cplusplus/LookupContext.h>
#include <cplusplus/Names.h>
#include <cplusplus/Scope.h>
#include <QDebug>
......
......@@ -36,11 +36,8 @@
#include <cplusplus/CppDocument.h>
#include <cplusplus/Icons.h>
#include <cplusplus/Overview.h>
#include <cplusplus/SymbolVisitor.h>
#include <cplusplus/Symbols.h>
#include <QIcon>
#include <QMetaType>
#include <QString>
#include <QSet>
#include <QHash>
......
......@@ -33,12 +33,7 @@
#include "symbolfinder.h"
#include <cplusplus/Control.h>
#include <cplusplus/Literals.h>
#include <cplusplus/LookupContext.h>
#include <cplusplus/Names.h>
#include <cplusplus/SymbolVisitor.h>
#include <cplusplus/Symbols.h>
#include <utils/qtcassert.h>
......
......@@ -33,7 +33,6 @@
#include "cpptools_global.h"
#include <cplusplus/CppDocument.h>
#include <cplusplus/CPlusPlusForwardDeclarations.h>
#include <QHash>
#include <QStringList>
......
......@@ -30,13 +30,10 @@
#include "symbolsfindfilter.h"
#include "cppmodelmanager.h"
#include "cpptoolsconstants.h"
#include <coreplugin/icore.h>
#include <coreplugin/progressmanager/futureprogress.h>
#include <coreplugin/progressmanager/progressmanager.h>
#include <find/textfindconstants.h>
#include <projectexplorer/project.h>
#include <projectexplorer/projectexplorer.h>
#include <projectexplorer/session.h>
......@@ -44,7 +41,6 @@
#include <utils/qtcassert.h>
#include <QSet>
#include <QRegExp>
#include <QGridLayout>
#include <QLabel>
#include <QButtonGroup>
......
......@@ -33,9 +33,7 @@
#include "searchsymbols.h"
#include <find/ifindfilter.h>
#include <find/searchresultwindow.h>
#include <QFutureInterface>
#include <QFutureWatcher>
#include <QPointer>
#include <QWidget>
......
......@@ -51,6 +51,8 @@
#include <qtsupport/profilereader.h>
#include <qtsupport/qtkitinformation.h>
#include <cpptools/ModelManagerInterface.h>
#include <utils/hostosinfo.h>
#include <utils/stringutils.h>
#include <proparser/prowriter.h>
......
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