forked from qt-creator/qt-creator
Clean exported headers of the CppTools plugin.
Change-Id: I0144ac33e88980c431c54a6d69bbde28da4b1967 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
|
||||
#include "cppelementevaluator.h"
|
||||
|
||||
#include <cpptools/cppmodelmanager.h>
|
||||
#include <cpptools/cpptoolsreuse.h>
|
||||
#include <cpptools/typehierarchybuilder.h>
|
||||
|
||||
|
@@ -35,6 +35,8 @@
|
||||
#include <texteditor/texteditor.h>
|
||||
#include <texteditor/helpitem.h>
|
||||
|
||||
#include <cplusplus/CppDocument.h>
|
||||
|
||||
#include <QString>
|
||||
#include <QStringList>
|
||||
#include <QSharedPointer>
|
||||
|
@@ -43,6 +43,7 @@
|
||||
|
||||
#include <cplusplus/ASTPath.h>
|
||||
#include <cplusplus/CppRewriter.h>
|
||||
#include <cplusplus/Overview.h>
|
||||
#include <cplusplus/TypeOfExpression.h>
|
||||
|
||||
#include <utils/proxyaction.h>
|
||||
|
@@ -30,6 +30,8 @@
|
||||
|
||||
#include "cppeditortestcase.h"
|
||||
|
||||
#include <cpptools/cppprojects.h>
|
||||
|
||||
#include <QByteArray>
|
||||
#include <QList>
|
||||
#include <QSharedPointer>
|
||||
|
@@ -33,6 +33,7 @@
|
||||
#include "cppeditorconstants.h"
|
||||
#include "cppeditor.h"
|
||||
|
||||
#include <cpptools/cppmodelmanager.h>
|
||||
#include <texteditor/textdocument.h>
|
||||
|
||||
#include <cplusplus/ASTPath.h>
|
||||
|
@@ -29,6 +29,7 @@
|
||||
****************************************************************************/
|
||||
|
||||
#include "baseeditordocumentparser.h"
|
||||
#include "baseeditordocumentprocessor.h"
|
||||
|
||||
#include "editordocumenthandle.h"
|
||||
|
||||
|
@@ -40,6 +40,7 @@
|
||||
#include "searchsymbols.h"
|
||||
|
||||
#include <coreplugin/icore.h>
|
||||
#include <coreplugin/find/searchresultwindow.h>
|
||||
#include <coreplugin/progressmanager/progressmanager.h>
|
||||
|
||||
#include <cplusplus/LookupContext.h>
|
||||
@@ -47,6 +48,7 @@
|
||||
#include <utils/runextensions.h>
|
||||
|
||||
#include <QCoreApplication>
|
||||
#include <QDir>
|
||||
#include <QElapsedTimer>
|
||||
|
||||
using namespace CppTools;
|
||||
|
@@ -32,11 +32,11 @@
|
||||
#define CPPCLASSESFILTER_H
|
||||
|
||||
#include "cpptools_global.h"
|
||||
#include "cpplocatordata.h"
|
||||
#include "cpplocatorfilter.h"
|
||||
|
||||
|
||||
namespace CppTools {
|
||||
class CppLocatorData;
|
||||
|
||||
// TODO: un-export this
|
||||
class CPPTOOLS_EXPORT CppClassesFilter : public Internal::CppLocatorFilter
|
||||
|
@@ -36,7 +36,6 @@
|
||||
|
||||
#include <texteditor/tabsettings.h>
|
||||
|
||||
#include <cplusplus/Token.h>
|
||||
#include <cplusplus/SimpleLexer.h>
|
||||
|
||||
#include <QStack>
|
||||
|
@@ -29,6 +29,7 @@
|
||||
****************************************************************************/
|
||||
|
||||
#include "cppcodemodelinspectordumper.h"
|
||||
#include "cppmodelmanager.h"
|
||||
|
||||
#include "cppworkingcopy.h"
|
||||
|
||||
|
@@ -33,13 +33,15 @@
|
||||
|
||||
#include "cpptools_global.h"
|
||||
|
||||
#include <cpptools/cppmodelmanager.h>
|
||||
#include <cpptools/cppprojects.h>
|
||||
#include <cplusplus/CppDocument.h>
|
||||
|
||||
#include <QFile>
|
||||
#include <QTextStream>
|
||||
|
||||
namespace CppTools {
|
||||
class WorkingCopy;
|
||||
|
||||
namespace CppCodeModelInspector {
|
||||
|
||||
struct CPPTOOLS_EXPORT Utils
|
||||
|
@@ -38,6 +38,8 @@
|
||||
#include <projectexplorer/project.h>
|
||||
#include <projectexplorer/projecttree.h>
|
||||
|
||||
#include <cplusplus/Overview.h>
|
||||
|
||||
#include <utils/qtcassert.h>
|
||||
#include <utils/settingsutils.h>
|
||||
|
||||
|
@@ -33,14 +33,14 @@
|
||||
|
||||
#include "cpptools_global.h"
|
||||
|
||||
#include <cplusplus/Overview.h>
|
||||
|
||||
#include <QVariant>
|
||||
#include <QVariantMap>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
class QSettings;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
namespace CPlusPlus { class Overview; }
|
||||
|
||||
namespace CppTools {
|
||||
|
||||
class CPPTOOLS_EXPORT CppCodeStyleSettings
|
||||
|
@@ -45,6 +45,7 @@
|
||||
#include <texteditor/snippets/isnippetprovider.h>
|
||||
#include <texteditor/texteditorsettings.h>
|
||||
|
||||
#include <cplusplus/Overview.h>
|
||||
#include <cplusplus/pp.h>
|
||||
|
||||
#include <extensionsystem/pluginmanager.h>
|
||||
|
@@ -59,6 +59,7 @@
|
||||
#include <cplusplus/Overview.h>
|
||||
#include <cplusplus/ResolveExpression.h>
|
||||
|
||||
#include <QDirIterator>
|
||||
#include <QLatin1String>
|
||||
#include <QTextCursor>
|
||||
#include <QTextDocument>
|
||||
|
@@ -36,12 +36,12 @@
|
||||
#include <texteditor/codeassist/assistenums.h>
|
||||
#include <texteditor/codeassist/completionassistprovider.h>
|
||||
|
||||
#include <cplusplus/Token.h>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
class QTextDocument;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
namespace CPlusPlus { struct LanguageFeatures; }
|
||||
|
||||
namespace TextEditor {
|
||||
class BaseTextEditor;
|
||||
class AssistInterface;
|
||||
|
@@ -32,8 +32,9 @@
|
||||
|
||||
#include "cppmodelmanager.h"
|
||||
|
||||
#include <coreplugin/editormanager/editormanager.h>
|
||||
#include <coreplugin/idocument.h>
|
||||
#include <coreplugin/editormanager/editormanager.h>
|
||||
#include <coreplugin/editormanager/ieditor.h>
|
||||
|
||||
#include <QStringMatcher>
|
||||
|
||||
|
@@ -34,6 +34,7 @@
|
||||
|
||||
#include <cplusplus/CppDocument.h>
|
||||
#include <coreplugin/editormanager/documentmodel.h>
|
||||
#include <projectexplorer/project.h>
|
||||
#include <projectexplorer/projectexplorer.h>
|
||||
#include <projectexplorer/session.h>
|
||||
|
||||
|
@@ -35,12 +35,13 @@
|
||||
|
||||
#include "cppmodelmanager.h"
|
||||
|
||||
#include <coreplugin/find/searchresultwindow.h>
|
||||
#include <coreplugin/find/textfindconstants.h>
|
||||
|
||||
#include <QFuture>
|
||||
#include <QStringList>
|
||||
|
||||
namespace Core { class SearchResultItem; }
|
||||
|
||||
namespace CppTools {
|
||||
|
||||
class CPPTOOLS_EXPORT SymbolSearcher: public QObject
|
||||
|
@@ -31,6 +31,7 @@
|
||||
#include "cppmodelmanager.h"
|
||||
|
||||
#include "abstracteditorsupport.h"
|
||||
#include "baseeditordocumentprocessor.h"
|
||||
#include "builtinindexingsupport.h"
|
||||
#include "cppcodemodelinspectordumper.h"
|
||||
#include "cppcodemodelsettings.h"
|
||||
@@ -48,6 +49,7 @@
|
||||
#include <coreplugin/progressmanager/progressmanager.h>
|
||||
#include <coreplugin/editormanager/editormanager.h>
|
||||
#include <texteditor/textdocument.h>
|
||||
#include <projectexplorer/project.h>
|
||||
#include <projectexplorer/projectexplorer.h>
|
||||
#include <projectexplorer/session.h>
|
||||
#include <extensionsystem/pluginmanager.h>
|
||||
@@ -56,6 +58,7 @@
|
||||
|
||||
#include <QCoreApplication>
|
||||
#include <QDebug>
|
||||
#include <QDir>
|
||||
#include <QMutexLocker>
|
||||
#include <QTextBlock>
|
||||
#include <QTimer>
|
||||
|
@@ -35,10 +35,6 @@
|
||||
|
||||
#include "cppprojects.h"
|
||||
|
||||
#include <projectexplorer/project.h>
|
||||
#include <texteditor/texteditor.h>
|
||||
|
||||
#include <cplusplus/CppDocument.h>
|
||||
#include <cplusplus/cppmodelmanagerbase.h>
|
||||
|
||||
#include <QFuture>
|
||||
|
@@ -28,6 +28,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#include "baseeditordocumentprocessor.h"
|
||||
#include "builtineditordocumentparser.h"
|
||||
#include "cppsourceprocessor.h"
|
||||
#include "cpptoolsplugin.h"
|
||||
|
@@ -31,6 +31,9 @@
|
||||
|
||||
#include "cpppointerdeclarationformatter.h"
|
||||
|
||||
#include <cplusplus/Overview.h>
|
||||
|
||||
#include <QDebug>
|
||||
#include <QTextCursor>
|
||||
|
||||
#define DEBUG_OUTPUT 0
|
||||
|
@@ -34,7 +34,11 @@
|
||||
#include "cpptools_global.h"
|
||||
#include "cpprefactoringchanges.h"
|
||||
|
||||
#include <cplusplus/Overview.h>
|
||||
#include <cplusplus/ASTVisitor.h>
|
||||
|
||||
#include <utils/changeset.h>
|
||||
|
||||
namespace CPlusPlus { class Overview; }
|
||||
|
||||
namespace CppTools {
|
||||
|
||||
|
@@ -41,6 +41,7 @@
|
||||
|
||||
#include <utils/fileutils.h>
|
||||
|
||||
#include <cplusplus/Overview.h>
|
||||
#include <cplusplus/pp.h>
|
||||
|
||||
#include <QDebug>
|
||||
|
@@ -33,8 +33,6 @@
|
||||
|
||||
#include "cpptools_global.h"
|
||||
|
||||
#include <utils/mimetypes/mimetype.h>
|
||||
|
||||
#include <QHash>
|
||||
#include <QList>
|
||||
#include <QString>
|
||||
|
@@ -34,11 +34,14 @@
|
||||
#include <projectexplorer/kit.h>
|
||||
#include <projectexplorer/kitinformation.h>
|
||||
#include <projectexplorer/kitmanager.h>
|
||||
#include <projectexplorer/project.h>
|
||||
#include <projectexplorer/projectexplorerconstants.h>
|
||||
#include <projectexplorer/target.h>
|
||||
|
||||
#include <utils/fileutils.h>
|
||||
#include <utils/qtcassert.h>
|
||||
|
||||
#include <QDir>
|
||||
#include <QSet>
|
||||
#include <QTextStream>
|
||||
|
||||
|
@@ -35,7 +35,6 @@
|
||||
|
||||
#include "cppprojectfile.h"
|
||||
|
||||
#include <projectexplorer/project.h>
|
||||
#include <projectexplorer/toolchain.h>
|
||||
|
||||
#include <cplusplus/Token.h>
|
||||
@@ -45,7 +44,12 @@
|
||||
|
||||
#include <functional>
|
||||
|
||||
namespace ProjectExplorer { class Project; }
|
||||
|
||||
namespace Utils { class FileName; }
|
||||
|
||||
namespace CppTools {
|
||||
class ProjectFile;
|
||||
|
||||
class CPPTOOLS_EXPORT ProjectPart
|
||||
{
|
||||
|
@@ -39,6 +39,8 @@
|
||||
|
||||
#include <utils/qtcassert.h>
|
||||
|
||||
#include <QTextDocument>
|
||||
|
||||
using namespace CPlusPlus;
|
||||
|
||||
namespace CppTools {
|
||||
|
@@ -32,12 +32,11 @@
|
||||
#define CPPREFACTORINGCHANGES_H
|
||||
|
||||
#include "cpptools_global.h"
|
||||
#include "cppmodelmanager.h"
|
||||
|
||||
#include <cplusplus/CppDocument.h>
|
||||
|
||||
#include <texteditor/refactoringchanges.h>
|
||||
|
||||
#include <cplusplus/LookupContext.h>
|
||||
|
||||
namespace CppTools {
|
||||
|
||||
class CppRefactoringChanges;
|
||||
|
@@ -56,6 +56,7 @@
|
||||
#include <coreplugin/jsexpander.h>
|
||||
#include <coreplugin/vcsmanager.h>
|
||||
#include <cppeditor/cppeditorconstants.h>
|
||||
#include <projectexplorer/project.h>
|
||||
#include <projectexplorer/projecttree.h>
|
||||
|
||||
#include <utils/fileutils.h>
|
||||
|
@@ -29,10 +29,11 @@
|
||||
****************************************************************************/
|
||||
|
||||
#include "cpptoolstestcase.h"
|
||||
|
||||
#include "cppmodelmanager.h"
|
||||
#include "cppworkingcopy.h"
|
||||
|
||||
#include <coreplugin/editormanager/editormanager.h>
|
||||
#include <projectexplorer/project.h>
|
||||
#include <projectexplorer/projectexplorer.h>
|
||||
#include <projectexplorer/session.h>
|
||||
#include <texteditor/texteditor.h>
|
||||
|
@@ -31,10 +31,9 @@
|
||||
#ifndef CPPTOOLSTESTCASE_H
|
||||
#define CPPTOOLSTESTCASE_H
|
||||
|
||||
#include "cppmodelmanager.h"
|
||||
#include "cpptools_global.h"
|
||||
|
||||
#include <coreplugin/editormanager/ieditor.h>
|
||||
#include <cplusplus/CppDocument.h>
|
||||
|
||||
#include <QStringList>
|
||||
#include <QTemporaryDir>
|
||||
@@ -53,6 +52,9 @@ class IAssistProposal;
|
||||
}
|
||||
|
||||
namespace CppTools {
|
||||
class CppModelManager;
|
||||
class ProjectInfo;
|
||||
|
||||
namespace Tests {
|
||||
|
||||
class CPPTOOLS_EXPORT TestDocument
|
||||
|
@@ -35,7 +35,7 @@
|
||||
|
||||
#include <cplusplus/Overview.h>
|
||||
|
||||
#include <QTextCursor>
|
||||
QT_FORWARD_DECLARE_CLASS(QTextCursor)
|
||||
|
||||
namespace CPlusPlus { class DeclarationAST; }
|
||||
|
||||
|
@@ -31,10 +31,10 @@
|
||||
#ifndef EDITORDOCUMENTHANDLE_H
|
||||
#define EDITORDOCUMENTHANDLE_H
|
||||
|
||||
#include "baseeditordocumentprocessor.h"
|
||||
#include "cpptools_global.h"
|
||||
|
||||
namespace CppTools {
|
||||
class BaseEditorDocumentProcessor;
|
||||
|
||||
class CPPTOOLS_EXPORT CppEditorDocumentHandle
|
||||
{
|
||||
|
@@ -30,12 +30,15 @@
|
||||
|
||||
#include "insertionpointlocator.h"
|
||||
|
||||
#include "cppprojectfile.h"
|
||||
#include "cpptoolsreuse.h"
|
||||
#include "symbolfinder.h"
|
||||
#include "cpptoolsconstants.h"
|
||||
|
||||
#include <coreplugin/icore.h>
|
||||
|
||||
#include <cplusplus/LookupContext.h>
|
||||
|
||||
#include <utils/qtcassert.h>
|
||||
|
||||
using namespace CPlusPlus;
|
||||
|
@@ -33,6 +33,8 @@
|
||||
|
||||
#include "cppmodelmanager.h"
|
||||
|
||||
#include <projectexplorer/project.h>
|
||||
|
||||
#include <QObject>
|
||||
|
||||
namespace CppTools {
|
||||
|
@@ -29,13 +29,16 @@
|
||||
****************************************************************************/
|
||||
|
||||
#include "semantichighlighter.h"
|
||||
#include "cppsemanticinfo.h"
|
||||
|
||||
#include <texteditor/fontsettings.h>
|
||||
#include <texteditor/syntaxhighlighter.h>
|
||||
#include <texteditor/textdocument.h>
|
||||
|
||||
#include <utils/qtcassert.h>
|
||||
|
||||
#include <QLoggingCategory>
|
||||
#include <QTextDocument>
|
||||
|
||||
using namespace CPlusPlus;
|
||||
using TextEditor::SemanticHighlighter::incrementalApplyExtraAdditionalFormats;
|
||||
|
@@ -31,18 +31,19 @@
|
||||
#ifndef SEMANTICHIGHLIGHTER_H
|
||||
#define SEMANTICHIGHLIGHTER_H
|
||||
|
||||
#include "cppsemanticinfo.h"
|
||||
#include "cpptools_global.h"
|
||||
|
||||
#include <texteditor/textdocument.h>
|
||||
#include <texteditor/semantichighlighter.h>
|
||||
|
||||
#include <QFutureWatcher>
|
||||
#include <QScopedPointer>
|
||||
#include <QTextEdit>
|
||||
#include <QTextCharFormat>
|
||||
|
||||
#include <functional>
|
||||
|
||||
namespace TextEditor {
|
||||
class HighlightingResult;
|
||||
class TextDocument;
|
||||
}
|
||||
|
||||
namespace CppTools {
|
||||
|
||||
class CPPTOOLS_EXPORT SemanticHighlighter : public QObject
|
||||
|
@@ -33,13 +33,20 @@
|
||||
|
||||
#include "cpptools_global.h"
|
||||
|
||||
#include <cplusplus/CppDocument.h>
|
||||
|
||||
#include <QHash>
|
||||
#include <QStringList>
|
||||
#include <QMultiMap>
|
||||
#include <QSet>
|
||||
|
||||
namespace CPlusPlus {
|
||||
class Class;
|
||||
class Declaration;
|
||||
class Function;
|
||||
class LookupContext;
|
||||
class Snapshot;
|
||||
class Symbol;
|
||||
}
|
||||
|
||||
namespace CppTools {
|
||||
|
||||
class CPPTOOLS_EXPORT SymbolFinder
|
||||
|
@@ -36,6 +36,7 @@
|
||||
#include "searchsymbols.h"
|
||||
|
||||
#include <coreplugin/testdatadir.h>
|
||||
#include <coreplugin/find/searchresultwindow.h>
|
||||
#include <utils/runextensions.h>
|
||||
|
||||
#include <QtTest>
|
||||
|
@@ -36,6 +36,8 @@
|
||||
#include <coreplugin/progressmanager/futureprogress.h>
|
||||
#include <coreplugin/progressmanager/progressmanager.h>
|
||||
#include <coreplugin/editormanager/editormanager.h>
|
||||
#include <coreplugin/find/searchresultwindow.h>
|
||||
#include <projectexplorer/project.h>
|
||||
#include <projectexplorer/projectexplorer.h>
|
||||
#include <projectexplorer/session.h>
|
||||
|
||||
|
@@ -41,6 +41,8 @@
|
||||
#include <QCheckBox>
|
||||
#include <QRadioButton>
|
||||
|
||||
namespace Core { class SearchResult; }
|
||||
|
||||
namespace CppTools {
|
||||
|
||||
class CppModelManager;
|
||||
|
@@ -32,14 +32,15 @@
|
||||
#define CPPTOOLS_TYPEHIERARCHYBUILDER_H
|
||||
|
||||
#include "cpptools_global.h"
|
||||
#include "cppmodelmanager.h"
|
||||
|
||||
#include <cplusplus/CppDocument.h>
|
||||
#include <cplusplus/Overview.h>
|
||||
|
||||
#include <QList>
|
||||
#include <QStringList>
|
||||
#include <QSet>
|
||||
|
||||
QT_FORWARD_DECLARE_CLASS(QStringList)
|
||||
|
||||
namespace CppTools {
|
||||
|
||||
class CPPTOOLS_EXPORT TypeHierarchy
|
||||
|
@@ -40,6 +40,7 @@
|
||||
#include <cpptools/cppworkingcopy.h>
|
||||
#include <cpptools/insertionpointlocator.h>
|
||||
#include <cpptools/symbolfinder.h>
|
||||
#include <cplusplus/LookupContext.h>
|
||||
#include <cplusplus/Overview.h>
|
||||
#include <coreplugin/icore.h>
|
||||
#include <coreplugin/editormanager/editormanager.h>
|
||||
|
@@ -35,6 +35,7 @@
|
||||
|
||||
#include <coreplugin/icore.h>
|
||||
#include <coreplugin/editormanager/documentmodel.h>
|
||||
#include <coreplugin/editormanager/ieditor.h>
|
||||
#include <coreplugin/messagemanager.h>
|
||||
#include <coreplugin/progressmanager/progressmanager.h>
|
||||
#include <cpptools/cppmodelmanager.h>
|
||||
|
Reference in New Issue
Block a user