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
......@@ -34,7 +34,6 @@
#include <utils/wizard.h>
#include <QStringList>
#include <QWizardPage>
namespace Utils {
......
......@@ -59,6 +59,7 @@
#include <cpptools/cpptoolssettings.h>
#include <cpptools/symbolfinder.h>
#include <projectexplorer/projectexplorerconstants.h>
#include <projectexplorer/projectexplorer.h>
#include <texteditor/basetextdocument.h>
#include <texteditor/basetextdocumentlayout.h>
#include <texteditor/codeassist/basicproposalitem.h>
......
......@@ -37,6 +37,7 @@
#include <cplusplus/ASTfwd.h>
#include <cplusplus/CppDocument.h>
#include <cplusplus/LookupContext.h>
namespace CppTools {
class CppRefactoringFile;
......
......@@ -34,7 +34,6 @@
#include "cppprojectfile.h"
#include <cplusplus/CppDocument.h>
#include <languageutils/fakemetaobject.h>
#include <QObject>
#include <QHash>
......
......@@ -29,14 +29,8 @@
#include "TypeHierarchyBuilder.h"
#include <cplusplus/CoreTypes.h>
#include <cplusplus/CppDocument.h>
#include <cplusplus/DependencyTable.h>
#include <cplusplus/FindUsages.h>
#include <cplusplus/Literals.h>
#include <cplusplus/SymbolVisitor.h>
#include <cplusplus/Symbols.h>
#include <cplusplus/TranslationUnit.h>
using namespace CppTools;
......
......@@ -33,7 +33,6 @@
#include "cpptools_global.h"
#include "ModelManagerInterface.h"
#include <cplusplus/CppDocument.h>
#include <cplusplus/Overview.h>
#include <QList>
......
......@@ -29,19 +29,10 @@
#include "abstracteditorsupport.h"
#include "cpptoolsconstants.h"
#include "cppfilesettingspage.h"
#include "ModelManagerInterface.h"
#include <coreplugin/icore.h>
#include <cplusplus/CoreTypes.h>
#include <cplusplus/CppDocument.h>
#include <cplusplus/ExpressionUnderCursor.h>
#include <cplusplus/Names.h>
#include <cplusplus/Overview.h>
#include <cplusplus/Scope.h>
#include <cplusplus/Symbols.h>
#include <QDebug>
......
......@@ -4,7 +4,6 @@
#include "searchsymbols.h"
#include <coreplugin/icore.h>
#include <coreplugin/mimedatabase.h>
#include <coreplugin/progressmanager/progressmanager.h>
#include <utils/runextensions.h>
......
......@@ -35,10 +35,7 @@
#include <coreplugin/icore.h>
#include <texteditor/texteditorsettings.h>
#include <extensionsystem/pluginmanager.h>
#include <QTextStream>
#include <QCoreApplication>
using namespace CppTools;
using namespace CppTools::Internal;
......
......@@ -31,21 +31,9 @@
#include "cpplocalsymbols.h"
#include <cplusplus/AST.h>
#include <cplusplus/Literals.h>
#include <cplusplus/Names.h>
#include <cplusplus/Overview.h>
#include <cplusplus/Scope.h>
#include <cplusplus/SimpleLexer.h>
#include <cplusplus/SymbolVisitor.h>
#include <cplusplus/Symbols.h>
#include <cplusplus/TranslationUnit.h>
#include <utils/qtcassert.h>
#include <utils/runextensions.h>
#include <QCoreApplication>
#include <QThreadPool>
#include <QDebug>
// This is for experimeting highlighting ctors/dtors as functions (instead of types).
......
......@@ -33,11 +33,6 @@
#include "cpptools_global.h"
#include "cppsemanticinfo.h"
#include <texteditor/semantichighlighter.h>
#include <cplusplus/ASTVisitor.h>
#include <cplusplus/CppDocument.h>
#include <cplusplus/LookupContext.h>
#include <cplusplus/TypeOfExpression.h>
#include <QSet>
......
......@@ -29,12 +29,7 @@
#include "cppcodeformatter.h"
#include "cppcodestylesettingspage.h"
#include <texteditor/basetextdocumentlayout.h>
#include <texteditor/tabsettings.h>
#include <cplusplus/Token.h>
#include <cplusplus/Lexer.h>
#include <utils/qtcassert.h>
......@@ -42,7 +37,6 @@
#include <QDebug>
#include <QMetaEnum>
#include <QTextDocument>
#include <QTextCursor>
#include <QTextBlock>
using namespace CPlusPlus;
......
......@@ -38,11 +38,9 @@
#include <cplusplus/Token.h>
#include <cplusplus/SimpleLexer.h>
#include <QChar>
#include <QStack>
#include <QList>
#include <QVector>
#include <QPointer>
QT_BEGIN_NAMESPACE
class QTextDocument;
......
......@@ -28,25 +28,12 @@
****************************************************************************/
#include "insertionpointlocator.h"
#include "cpprefactoringchanges.h"
#include "cpptoolsplugin.h"
#include <cplusplus/AST.h>
#include <cplusplus/Bind.h>
#include <cplusplus/Control.h>
#include <cplusplus/CppDocument.h>
#include <cplusplus/DiagnosticClient.h>
#include <cplusplus/Literals.h>
#include <cplusplus/Scope.h>
#include <cplusplus/Symbols.h>
#include <cplusplus/TranslationUnit.h>
#include <extensionsystem/pluginmanager.h>
#include <utils/fileutils.h>
#include <QtTest>
#include <QDebug>
#include <QTextDocument>
#include <QDir>
/*!
......
......@@ -29,7 +29,6 @@
#include "cppcodestylepreferencesfactory.h"
#include "cppcodestylesettings.h"
#include "cppcodestylesettingspage.h"
#include "cppcodestylepreferences.h"
#include "cpptoolsconstants.h"
......@@ -37,7 +36,6 @@
#include <cppeditor/cppeditorconstants.h>
#include <texteditor/snippets/isnippetprovider.h>
#include <texteditor/tabsettings.h>
#include <extensionsystem/pluginmanager.h>
......
......@@ -29,7 +29,6 @@
#include "cppcodestylesettings.h"
#include "cppcodestylepreferencesfactory.h"
#include "cppcodestylepreferences.h"
#include "cpptoolsconstants.h"
#include "cpptoolssettings.h"
......
......@@ -34,7 +34,6 @@
#include <cplusplus/Overview.h>
#include <QMetaType>
#include <QVariant>
QT_BEGIN_NAMESPACE
......
......@@ -40,12 +40,9 @@
#include <cppeditor/cppeditorconstants.h>
#include <texteditor/codestyleeditor.h>
#include <texteditor/displaysettings.h>
#include <texteditor/fontsettings.h>
#include <texteditor/snippets/isnippetprovider.h>
#include <texteditor/tabsettings.h>
#include <texteditor/texteditorsettings.h>
#include <cplusplus/Overview.h>
#include <cplusplus/pp.h>
#include <extensionsystem/pluginmanager.h>
......
......@@ -38,9 +38,6 @@
#include <QWidget>
#include <QPointer>
#include <QSharedPointer>
#include <QVariant>
#include <QStringList>
namespace TextEditor {
class FontSettings;
......
......@@ -30,23 +30,9 @@
#include "cpptoolsplugin.h"
#include "cppcompletionassist.h"
#include <texteditor/basetextdocument.h>
#include <texteditor/plaintexteditor.h>
#include <texteditor/codeassist/iassistproposal.h>
#include <texteditor/codeassist/iassistproposalmodel.h>
#include <texteditor/codeassist/basicproposalitemlistmodel.h>
#include <cplusplus/AST.h>
#include <cplusplus/Bind.h>
#include <cplusplus/Control.h>
#include <cplusplus/CppDocument.h>
#include <cplusplus/DiagnosticClient.h>
#include <cplusplus/Literals.h>
#include <cplusplus/Scope.h>
#include <cplusplus/Symbols.h>
#include <cplusplus/TranslationUnit.h>
#include <extensionsystem/pluginmanager.h>
#include <utils/changeset.h>
#include <utils/fileutils.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