Commit ca633593 authored by Nikolai Kosjar's avatar Nikolai Kosjar

CppTools/Clang: Clean-up of includes

Change-Id: I0ba340dcf0ee23e61588f17262d07e7088751836
Reviewed-by: default avatarMarco Bubke <marco.bubke@theqtcompany.com>
parent f89d3dca
......@@ -40,6 +40,7 @@
#include <cpptools/abstracteditorsupport.h>
#include <cpptools/baseeditordocumentprocessor.h>
#include <cpptools/cppmodelmanager.h>
#include <cpptools/editordocumenthandle.h>
#include <texteditor/codeassist/functionhintproposal.h>
......
......@@ -30,10 +30,6 @@
#include "clangcompletionassistinterface.h"
#include "clangutils.h"
#include <cpptools/cpptoolsreuse.h>
#include <texteditor/texteditor.h>
namespace ClangCodeModel {
......
......@@ -34,8 +34,6 @@
#include "clangbackendipcintegration.h"
#include "clangutils.h"
#include <cpptools/cppcompletionassistprovider.h>
#include <texteditor/codeassist/assistinterface.h>
namespace ClangCodeModel {
......
......@@ -37,11 +37,10 @@
#include "clangcompletioncontextanalyzer.h"
#include "clangeditordocumentprocessor.h"
#include "clangfunctionhintmodel.h"
#include "clangutils.h"
#include "clangcompletionchunkstotextconverter.h"
#include <utils/qtcassert.h>
#include <cpptools/cppdoxygen.h>
#include <cpptools/cppmodelmanager.h>
#include <cpptools/editordocumenthandle.h>
#include <texteditor/codeassist/assistproposalitem.h>
......@@ -49,17 +48,16 @@
#include <texteditor/codeassist/ifunctionhintproposalmodel.h>
#include <texteditor/convenience.h>
#include <cpptools/cppdoxygen.h>
#include <cplusplus/BackwardsScanner.h>
#include <cplusplus/ExpressionUnderCursor.h>
#include <cplusplus/SimpleLexer.h>
#include <QDirIterator>
#include <QTextBlock>
#include <filecontainer.h>
#include <clangbackendipc/filecontainer.h>
#include <utils/mimetypes/mimedatabase.h>
#include <utils/qtcassert.h>
#include <QDirIterator>
namespace ClangCodeModel {
namespace Internal {
......
......@@ -34,11 +34,10 @@
#include "clangcompletionassistinterface.h"
#include <cpptools/cppcompletionassistprocessor.h>
#include <texteditor/texteditor.h>
#include <clangbackendipc/codecompletion.h>
#include <QCoreApplication>
#include <QTextCursor>
namespace ClangCodeModel {
namespace Internal {
......
......@@ -40,6 +40,7 @@
#include <sourcelocationcontainer.h>
#include <cpptools/cppcodemodelsettings.h>
#include <cpptools/cppmodelmanager.h>
#include <cpptools/cppprojects.h>
#include <cpptools/cpptoolsreuse.h>
#include <cpptools/cppworkingcopy.h>
......
......@@ -32,10 +32,6 @@
#include "clangfixitoperation.h"
#include <clangbackendipc/sourcerangecontainer.h>
#include <utils/qtcassert.h>
#include <QDebug>
using ClangBackEnd::DiagnosticContainer;
......
......@@ -35,8 +35,9 @@
#include "clangutils.h"
#include <coreplugin/editormanager/editormanager.h>
#include <cpptools/baseeditordocumentparser.h>
#include <cpptools/cppmodelmanager.h>
#include <cpptools/editordocumenthandle.h>
#include <texteditor/quickfix.h>
#include <projectexplorer/project.h>
#include <clangbackendipc/cmbregisterprojectsforeditormessage.h>
......
......@@ -35,7 +35,6 @@
#include <coreplugin/coreicons.h>
#include <QString>
#include <QApplication>
namespace ClangCodeModel {
......
......@@ -35,6 +35,7 @@
#include <coreplugin/icore.h>
#include <coreplugin/idocument.h>
#include <cpptools/baseeditordocumentparser.h>
#include <cpptools/cppmodelmanager.h>
#include <cpptools/cppprojects.h>
#include <projectexplorer/projectexplorerconstants.h>
#include <utils/qtcassert.h>
......
......@@ -31,6 +31,7 @@
#include "baseeditordocumentparser.h"
#include "baseeditordocumentprocessor.h"
#include "cppmodelmanager.h"
#include "cpptoolsreuse.h"
#include "editordocumenthandle.h"
......
......@@ -31,11 +31,12 @@
#ifndef BASEEDITORDOCUMENTPARSER_H
#define BASEEDITORDOCUMENTPARSER_H
#include "cppmodelmanager.h"
#include "cpptools_global.h"
#include "cppprojects.h"
#include "cppworkingcopy.h"
#include <QObject>
#include <QMutex>
namespace CppTools {
......
......@@ -29,12 +29,12 @@
****************************************************************************/
#include "baseeditordocumentprocessor.h"
#include "cppworkingcopy.h"
#include "cpptoolsreuse.h"
#include "cppmodelmanager.h"
#include "editordocumenthandle.h"
#include <texteditor/fontsettings.h>
#include <texteditor/quickfix.h>
#include <texteditor/texteditorsettings.h>
#include <utils/qtcassert.h>
......
......@@ -38,13 +38,15 @@
#include <texteditor/codeassist/assistinterface.h>
#include <texteditor/texteditor.h>
#include <texteditor/textdocument.h>
#include <texteditor/quickfix.h>
#include <cplusplus/CppDocument.h>
#include <QTextEdit>
namespace TextEditor { class TextDocument; }
namespace TextEditor {
class TextDocument;
class QuickFixOperations;
}
namespace CppTools {
......
......@@ -30,7 +30,6 @@
#include "builtineditordocumentparser.h"
#include "cppsourceprocessor.h"
#include "editordocumenthandle.h"
#include <projectexplorer/projectexplorerconstants.h>
......
......@@ -33,7 +33,6 @@
#include "baseeditordocumentparser.h"
#include "cpptools_global.h"
#include "cppmodelmanager.h"
#include <cplusplus/CppDocument.h>
......
......@@ -37,7 +37,6 @@
#include "cpptoolsreuse.h"
#include "cppworkingcopy.h"
#include <texteditor/texteditor.h>
#include <texteditor/convenience.h>
#include <cplusplus/CppDocument.h>
......
......@@ -29,9 +29,9 @@
****************************************************************************/
#include "semantichighlighter.h"
#include "cppsemanticinfo.h"
#include <texteditor/fontsettings.h>
#include <texteditor/semantichighlighter.h>
#include <texteditor/syntaxhighlighter.h>
#include <texteditor/textdocument.h>
......@@ -40,7 +40,6 @@
#include <QLoggingCategory>
#include <QTextDocument>
using namespace CPlusPlus;
using TextEditor::SemanticHighlighter::incrementalApplyExtraAdditionalFormats;
using TextEditor::SemanticHighlighter::clearExtraAdditionalFormatsUntilEnd;
......
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