cleaned up includes based on include-what-you-use (#4007)
* cleaned up includes based on include-what-you-use * updated translations
This commit is contained in:
parent
5ac4afa5b8
commit
45158ec064
|
@ -18,6 +18,7 @@
|
||||||
|
|
||||||
#include "filelister.h"
|
#include "filelister.h"
|
||||||
|
|
||||||
|
#include "config.h"
|
||||||
#include "path.h"
|
#include "path.h"
|
||||||
#include "pathmatch.h"
|
#include "pathmatch.h"
|
||||||
#include "utils.h"
|
#include "utils.h"
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
#include <QDialog>
|
#include <QDialog>
|
||||||
#include <QString>
|
#include <QString>
|
||||||
|
|
||||||
|
class QObject;
|
||||||
class QWidget;
|
class QWidget;
|
||||||
namespace Ui {
|
namespace Ui {
|
||||||
class About;
|
class About;
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
#include <QDialog>
|
#include <QDialog>
|
||||||
#include <QString>
|
#include <QString>
|
||||||
|
|
||||||
|
class QObject;
|
||||||
class QWidget;
|
class QWidget;
|
||||||
class Application;
|
class Application;
|
||||||
namespace Ui {
|
namespace Ui {
|
||||||
|
|
|
@ -18,11 +18,25 @@
|
||||||
|
|
||||||
#include "checkthread.h"
|
#include "checkthread.h"
|
||||||
|
|
||||||
|
#include "analyzerinfo.h"
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
#include "cppcheck.h"
|
#include "cppcheck.h"
|
||||||
#include "erroritem.h"
|
#include "erroritem.h"
|
||||||
|
#include "errorlogger.h"
|
||||||
|
#include "errortypes.h"
|
||||||
|
#include "settings.h"
|
||||||
|
#include "standards.h"
|
||||||
#include "threadresult.h"
|
#include "threadresult.h"
|
||||||
|
|
||||||
|
#include <cstddef>
|
||||||
|
#include <functional>
|
||||||
|
#include <list>
|
||||||
|
#include <map>
|
||||||
|
#include <ostream>
|
||||||
|
#include <set>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
#include <QDir>
|
#include <QDir>
|
||||||
#include <QFile>
|
#include <QFile>
|
||||||
|
|
|
@ -25,6 +25,7 @@
|
||||||
|
|
||||||
#include <QThread>
|
#include <QThread>
|
||||||
|
|
||||||
|
class QObject;
|
||||||
class Settings;
|
class Settings;
|
||||||
class ThreadResult;
|
class ThreadResult;
|
||||||
|
|
||||||
|
|
|
@ -23,6 +23,8 @@
|
||||||
#include <QPainter>
|
#include <QPainter>
|
||||||
#include <QShortcut>
|
#include <QShortcut>
|
||||||
|
|
||||||
|
class QTextDocument;
|
||||||
|
|
||||||
|
|
||||||
Highlighter::Highlighter(QTextDocument *parent,
|
Highlighter::Highlighter(QTextDocument *parent,
|
||||||
CodeEditorStyle *widgetStyle) :
|
CodeEditorStyle *widgetStyle) :
|
||||||
|
|
|
@ -24,8 +24,11 @@
|
||||||
#include <QSyntaxHighlighter>
|
#include <QSyntaxHighlighter>
|
||||||
|
|
||||||
class CodeEditorStyle;
|
class CodeEditorStyle;
|
||||||
|
class QObject;
|
||||||
class QPaintEvent;
|
class QPaintEvent;
|
||||||
|
class QRect;
|
||||||
class QResizeEvent;
|
class QResizeEvent;
|
||||||
|
class QTextDocument;
|
||||||
|
|
||||||
class Highlighter : public QSyntaxHighlighter {
|
class Highlighter : public QSyntaxHighlighter {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
|
@ -20,6 +20,8 @@
|
||||||
|
|
||||||
#include <QColorDialog>
|
#include <QColorDialog>
|
||||||
|
|
||||||
|
class QWidget;
|
||||||
|
|
||||||
SelectColorButton::SelectColorButton(QWidget* parent) :
|
SelectColorButton::SelectColorButton(QWidget* parent) :
|
||||||
QPushButton(parent),
|
QPushButton(parent),
|
||||||
mColor(QColor(255, 255, 255))
|
mColor(QColor(255, 255, 255))
|
||||||
|
|
|
@ -27,6 +27,9 @@
|
||||||
#include <QFont>
|
#include <QFont>
|
||||||
#include <QPushButton>
|
#include <QPushButton>
|
||||||
|
|
||||||
|
class QObject;
|
||||||
|
class QWidget;
|
||||||
|
|
||||||
class SelectColorButton : public QPushButton {
|
class SelectColorButton : public QPushButton {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -24,6 +24,8 @@
|
||||||
#include <QDialogButtonBox>
|
#include <QDialogButtonBox>
|
||||||
#include <QFormLayout>
|
#include <QFormLayout>
|
||||||
|
|
||||||
|
class QWidget;
|
||||||
|
|
||||||
const QString StyleEditDialog::mSampleDocument(
|
const QString StyleEditDialog::mSampleDocument(
|
||||||
"/*****\n"
|
"/*****\n"
|
||||||
"* Multiline Comment\n"
|
"* Multiline Comment\n"
|
||||||
|
|
|
@ -26,7 +26,10 @@
|
||||||
class CodeEditor;
|
class CodeEditor;
|
||||||
class SelectColorButton;
|
class SelectColorButton;
|
||||||
class SelectFontWeightCombo;
|
class SelectFontWeightCombo;
|
||||||
|
class QObject;
|
||||||
class QPushButton;
|
class QPushButton;
|
||||||
|
class QStringList;
|
||||||
|
class QWidget;
|
||||||
|
|
||||||
class StyleEditDialog : public QDialog {
|
class StyleEditDialog : public QDialog {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -24,6 +24,8 @@
|
||||||
#include <QString>
|
#include <QString>
|
||||||
#include <QTextStream>
|
#include <QTextStream>
|
||||||
|
|
||||||
|
class ErrorItem;
|
||||||
|
|
||||||
/// @addtogroup GUI
|
/// @addtogroup GUI
|
||||||
/// @{
|
/// @{
|
||||||
|
|
||||||
|
|
|
@ -20,6 +20,8 @@
|
||||||
|
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
|
|
||||||
|
#include <list>
|
||||||
|
|
||||||
QErrorPathItem::QErrorPathItem(const ErrorMessage::FileLocation &loc)
|
QErrorPathItem::QErrorPathItem(const ErrorMessage::FileLocation &loc)
|
||||||
: file(QString::fromStdString(loc.getfile(false)))
|
: file(QString::fromStdString(loc.getfile(false)))
|
||||||
, line(loc.line)
|
, line(loc.line)
|
||||||
|
|
|
@ -20,6 +20,10 @@
|
||||||
|
|
||||||
#include "pathmatch.h"
|
#include "pathmatch.h"
|
||||||
|
|
||||||
|
#include <algorithm>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
#include <QDir>
|
#include <QDir>
|
||||||
|
|
||||||
QStringList FileList::getDefaultFilters()
|
QStringList FileList::getDefaultFilters()
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
#include <QDialog>
|
#include <QDialog>
|
||||||
#include <QString>
|
#include <QString>
|
||||||
|
|
||||||
|
class QObject;
|
||||||
class QWidget;
|
class QWidget;
|
||||||
class QTextEdit;
|
class QTextEdit;
|
||||||
namespace Ui {
|
namespace Ui {
|
||||||
|
|
|
@ -28,6 +28,8 @@
|
||||||
#include <QHelpIndexWidget>
|
#include <QHelpIndexWidget>
|
||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
|
|
||||||
|
class QWidget;
|
||||||
|
|
||||||
void HelpBrowser::setHelpEngine(QHelpEngine *helpEngine)
|
void HelpBrowser::setHelpEngine(QHelpEngine *helpEngine)
|
||||||
{
|
{
|
||||||
mHelpEngine = helpEngine;
|
mHelpEngine = helpEngine;
|
||||||
|
|
|
@ -22,12 +22,14 @@
|
||||||
#include <QDialog>
|
#include <QDialog>
|
||||||
#include <QTextBrowser>
|
#include <QTextBrowser>
|
||||||
|
|
||||||
|
class QHelpEngine;
|
||||||
|
class QObject;
|
||||||
|
class QUrl;
|
||||||
|
class QWidget;
|
||||||
namespace Ui {
|
namespace Ui {
|
||||||
class HelpDialog;
|
class HelpDialog;
|
||||||
}
|
}
|
||||||
|
|
||||||
class QHelpEngine;
|
|
||||||
|
|
||||||
class HelpBrowser : public QTextBrowser {
|
class HelpBrowser : public QTextBrowser {
|
||||||
public:
|
public:
|
||||||
HelpBrowser(QWidget* parent = nullptr) : QTextBrowser(parent), mHelpEngine(nullptr) {}
|
HelpBrowser(QWidget* parent = nullptr) : QTextBrowser(parent), mHelpEngine(nullptr) {}
|
||||||
|
|
|
@ -23,6 +23,8 @@
|
||||||
#include <QRegularExpression>
|
#include <QRegularExpression>
|
||||||
#include <QRegularExpressionValidator>
|
#include <QRegularExpressionValidator>
|
||||||
|
|
||||||
|
class QWidget;
|
||||||
|
|
||||||
LibraryAddFunctionDialog::LibraryAddFunctionDialog(QWidget *parent) :
|
LibraryAddFunctionDialog::LibraryAddFunctionDialog(QWidget *parent) :
|
||||||
QDialog(parent),
|
QDialog(parent),
|
||||||
mUi(new Ui::LibraryAddFunctionDialog)
|
mUi(new Ui::LibraryAddFunctionDialog)
|
||||||
|
|
|
@ -21,14 +21,16 @@
|
||||||
|
|
||||||
#include <QDialog>
|
#include <QDialog>
|
||||||
|
|
||||||
#define SIMPLENAME "[_a-zA-Z][_a-zA-Z0-9]*" // just a name
|
class QObject;
|
||||||
#define SCOPENAME SIMPLENAME "(::" SIMPLENAME ")*" // names with optional scope
|
class QWidget;
|
||||||
#define NAMES SCOPENAME "(," SCOPENAME ")*" // names can be separated by comma
|
|
||||||
|
|
||||||
namespace Ui {
|
namespace Ui {
|
||||||
class LibraryAddFunctionDialog;
|
class LibraryAddFunctionDialog;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#define SIMPLENAME "[_a-zA-Z][_a-zA-Z0-9]*" // just a name
|
||||||
|
#define SCOPENAME SIMPLENAME "(::" SIMPLENAME ")*" // names with optional scope
|
||||||
|
#define NAMES SCOPENAME "(," SCOPENAME ")*" // names can be separated by comma
|
||||||
|
|
||||||
class LibraryAddFunctionDialog : public QDialog {
|
class LibraryAddFunctionDialog : public QDialog {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
|
|
|
@ -25,12 +25,16 @@
|
||||||
|
|
||||||
#include "ui_librarydialog.h"
|
#include "ui_librarydialog.h"
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
|
||||||
#include <QFile>
|
#include <QFile>
|
||||||
#include <QFileDialog>
|
#include <QFileDialog>
|
||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
#include <QRegularExpression>
|
#include <QRegularExpression>
|
||||||
#include <QTextStream>
|
#include <QTextStream>
|
||||||
|
|
||||||
|
class QWidget;
|
||||||
|
|
||||||
// TODO: get/compare functions from header
|
// TODO: get/compare functions from header
|
||||||
|
|
||||||
class FunctionListItem : public QListWidgetItem {
|
class FunctionListItem : public QListWidgetItem {
|
||||||
|
|
|
@ -24,7 +24,8 @@
|
||||||
#include <QDialog>
|
#include <QDialog>
|
||||||
|
|
||||||
class QListWidgetItem;
|
class QListWidgetItem;
|
||||||
|
class QObject;
|
||||||
|
class QWidget;
|
||||||
namespace Ui {
|
namespace Ui {
|
||||||
class LibraryDialog;
|
class LibraryDialog;
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,6 +20,8 @@
|
||||||
|
|
||||||
#include "ui_libraryeditargdialog.h"
|
#include "ui_libraryeditargdialog.h"
|
||||||
|
|
||||||
|
class QWidget;
|
||||||
|
|
||||||
LibraryEditArgDialog::LibraryEditArgDialog(QWidget *parent, const CppcheckLibraryData::Function::Arg &arg) :
|
LibraryEditArgDialog::LibraryEditArgDialog(QWidget *parent, const CppcheckLibraryData::Function::Arg &arg) :
|
||||||
QDialog(parent),
|
QDialog(parent),
|
||||||
mUi(new Ui::LibraryEditArgDialog),
|
mUi(new Ui::LibraryEditArgDialog),
|
||||||
|
|
|
@ -23,6 +23,8 @@
|
||||||
|
|
||||||
#include <QDialog>
|
#include <QDialog>
|
||||||
|
|
||||||
|
class QObject;
|
||||||
|
class QWidget;
|
||||||
namespace Ui {
|
namespace Ui {
|
||||||
class LibraryEditArgDialog;
|
class LibraryEditArgDialog;
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
#else
|
#else
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#endif
|
#endif
|
||||||
|
#include <string>
|
||||||
|
|
||||||
#include <QApplication>
|
#include <QApplication>
|
||||||
#include <QCoreApplication>
|
#include <QCoreApplication>
|
||||||
|
|
|
@ -20,25 +20,39 @@
|
||||||
|
|
||||||
#include "applicationlist.h"
|
#include "applicationlist.h"
|
||||||
#include "aboutdialog.h"
|
#include "aboutdialog.h"
|
||||||
|
#include "analyzerinfo.h"
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
#include "cppcheck.h"
|
#include "cppcheck.h"
|
||||||
|
#include "errortypes.h"
|
||||||
#include "filelist.h"
|
#include "filelist.h"
|
||||||
#include "fileviewdialog.h"
|
#include "fileviewdialog.h"
|
||||||
#include "helpdialog.h"
|
#include "helpdialog.h"
|
||||||
|
#include "importproject.h"
|
||||||
#include "librarydialog.h"
|
#include "librarydialog.h"
|
||||||
|
#include "platform.h"
|
||||||
#include "projectfile.h"
|
#include "projectfile.h"
|
||||||
#include "projectfiledialog.h"
|
#include "projectfiledialog.h"
|
||||||
#include "report.h"
|
#include "report.h"
|
||||||
|
#include "resultsview.h"
|
||||||
#include "scratchpad.h"
|
#include "scratchpad.h"
|
||||||
#include "showtypes.h"
|
#include "showtypes.h"
|
||||||
#include "statsdialog.h"
|
#include "statsdialog.h"
|
||||||
#include "settingsdialog.h"
|
#include "settingsdialog.h"
|
||||||
|
#include "standards.h"
|
||||||
|
#include "suppressions.h"
|
||||||
#include "threadhandler.h"
|
#include "threadhandler.h"
|
||||||
#include "threadresult.h"
|
#include "threadresult.h"
|
||||||
#include "translationhandler.h"
|
#include "translationhandler.h"
|
||||||
|
|
||||||
#include "ui_mainwindow.h"
|
#include "ui_mainwindow.h"
|
||||||
|
|
||||||
|
#include <algorithm>
|
||||||
|
#include <functional>
|
||||||
|
#include <list>
|
||||||
|
#include <set>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
#include <QApplication>
|
#include <QApplication>
|
||||||
#include <QAction>
|
#include <QAction>
|
||||||
#include <QActionGroup>
|
#include <QActionGroup>
|
||||||
|
|
|
@ -19,6 +19,7 @@
|
||||||
#ifndef MAINWINDOW_H
|
#ifndef MAINWINDOW_H
|
||||||
#define MAINWINDOW_H
|
#define MAINWINDOW_H
|
||||||
|
|
||||||
|
#include "library.h"
|
||||||
#include "settings.h"
|
#include "settings.h"
|
||||||
#include "platforms.h"
|
#include "platforms.h"
|
||||||
|
|
||||||
|
@ -36,6 +37,9 @@ class QActionGroup;
|
||||||
class QSettings;
|
class QSettings;
|
||||||
class QTimer;
|
class QTimer;
|
||||||
class QLineEdit;
|
class QLineEdit;
|
||||||
|
class ImportProject;
|
||||||
|
class QCloseEvent;
|
||||||
|
class QObject;
|
||||||
namespace Ui {
|
namespace Ui {
|
||||||
class MainWindow;
|
class MainWindow;
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,6 +25,11 @@
|
||||||
|
|
||||||
#include "ui_newsuppressiondialog.h"
|
#include "ui_newsuppressiondialog.h"
|
||||||
|
|
||||||
|
#include <functional>
|
||||||
|
#include <string>
|
||||||
|
|
||||||
|
class QWidget;
|
||||||
|
|
||||||
NewSuppressionDialog::NewSuppressionDialog(QWidget *parent) :
|
NewSuppressionDialog::NewSuppressionDialog(QWidget *parent) :
|
||||||
QDialog(parent),
|
QDialog(parent),
|
||||||
mUI(new Ui::NewSuppressionDialog)
|
mUI(new Ui::NewSuppressionDialog)
|
||||||
|
|
|
@ -23,6 +23,8 @@
|
||||||
|
|
||||||
#include <QDialog>
|
#include <QDialog>
|
||||||
|
|
||||||
|
class QObject;
|
||||||
|
class QWidget;
|
||||||
namespace Ui {
|
namespace Ui {
|
||||||
class NewSuppressionDialog;
|
class NewSuppressionDialog;
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,6 +21,8 @@
|
||||||
|
|
||||||
#include "report.h"
|
#include "report.h"
|
||||||
|
|
||||||
|
class ErrorItem;
|
||||||
|
|
||||||
/// @addtogroup GUI
|
/// @addtogroup GUI
|
||||||
/// @{
|
/// @{
|
||||||
|
|
||||||
|
|
|
@ -19,9 +19,13 @@
|
||||||
#include "projectfile.h"
|
#include "projectfile.h"
|
||||||
|
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
|
#include "config.h"
|
||||||
#include "importproject.h"
|
#include "importproject.h"
|
||||||
#include "settings.h"
|
#include "settings.h"
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <utility>
|
||||||
|
|
||||||
#include <QFile>
|
#include <QFile>
|
||||||
#include <QDir>
|
#include <QDir>
|
||||||
#include <QXmlStreamReader>
|
#include <QXmlStreamReader>
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
#include "settings.h"
|
#include "settings.h"
|
||||||
#include "suppressions.h"
|
#include "suppressions.h"
|
||||||
|
|
||||||
|
#include <cstddef>
|
||||||
#include <map>
|
#include <map>
|
||||||
|
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
|
|
|
@ -23,11 +23,16 @@
|
||||||
#include "importproject.h"
|
#include "importproject.h"
|
||||||
#include "library.h"
|
#include "library.h"
|
||||||
#include "newsuppressiondialog.h"
|
#include "newsuppressiondialog.h"
|
||||||
|
#include "platform.h"
|
||||||
#include "platforms.h"
|
#include "platforms.h"
|
||||||
#include "projectfile.h"
|
#include "projectfile.h"
|
||||||
|
#include "settings.h"
|
||||||
|
|
||||||
#include "ui_projectfile.h"
|
#include "ui_projectfile.h"
|
||||||
|
|
||||||
|
#include <list>
|
||||||
|
#include <string>
|
||||||
|
|
||||||
#include <QDir>
|
#include <QDir>
|
||||||
#include <QFileDialog>
|
#include <QFileDialog>
|
||||||
#include <QFileInfo>
|
#include <QFileInfo>
|
||||||
|
@ -35,6 +40,8 @@
|
||||||
#include <QRegularExpressionValidator>
|
#include <QRegularExpressionValidator>
|
||||||
#include <QSettings>
|
#include <QSettings>
|
||||||
|
|
||||||
|
class QModelIndex;
|
||||||
|
|
||||||
/** Return paths from QListWidget */
|
/** Return paths from QListWidget */
|
||||||
static QStringList getPaths(const QListWidget *list)
|
static QStringList getPaths(const QListWidget *list)
|
||||||
{
|
{
|
||||||
|
|
|
@ -25,6 +25,8 @@
|
||||||
#include <QString>
|
#include <QString>
|
||||||
#include <QStringList>
|
#include <QStringList>
|
||||||
|
|
||||||
|
class QModelIndex;
|
||||||
|
class QObject;
|
||||||
class QWidget;
|
class QWidget;
|
||||||
namespace Ui {
|
namespace Ui {
|
||||||
class ProjectFile;
|
class ProjectFile;
|
||||||
|
|
|
@ -26,9 +26,13 @@
|
||||||
#include "projectfile.h"
|
#include "projectfile.h"
|
||||||
#include "report.h"
|
#include "report.h"
|
||||||
#include "showtypes.h"
|
#include "showtypes.h"
|
||||||
|
#include "suppressions.h"
|
||||||
#include "threadhandler.h"
|
#include "threadhandler.h"
|
||||||
#include "xmlreportv2.h"
|
#include "xmlreportv2.h"
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <utility>
|
||||||
|
|
||||||
#include <QAction>
|
#include <QAction>
|
||||||
#include <QApplication>
|
#include <QApplication>
|
||||||
#include <QClipboard>
|
#include <QClipboard>
|
||||||
|
|
|
@ -35,6 +35,8 @@ class QWidget;
|
||||||
class QItemSelectionModel;
|
class QItemSelectionModel;
|
||||||
class ThreadHandler;
|
class ThreadHandler;
|
||||||
class QContextMenuEvent;
|
class QContextMenuEvent;
|
||||||
|
class QKeyEvent;
|
||||||
|
class QObject;
|
||||||
class QSettings;
|
class QSettings;
|
||||||
|
|
||||||
/// @addtogroup GUI
|
/// @addtogroup GUI
|
||||||
|
|
|
@ -19,12 +19,14 @@
|
||||||
#include "resultsview.h"
|
#include "resultsview.h"
|
||||||
|
|
||||||
#include "checkstatistics.h"
|
#include "checkstatistics.h"
|
||||||
|
#include "codeeditor.h"
|
||||||
#include "codeeditorstyle.h"
|
#include "codeeditorstyle.h"
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
#include "csvreport.h"
|
#include "csvreport.h"
|
||||||
#include "erroritem.h"
|
#include "erroritem.h"
|
||||||
#include "path.h"
|
#include "path.h"
|
||||||
#include "printablereport.h"
|
#include "printablereport.h"
|
||||||
|
#include "resultstree.h"
|
||||||
#include "txtreport.h"
|
#include "txtreport.h"
|
||||||
#include "xmlreport.h"
|
#include "xmlreport.h"
|
||||||
#include "xmlreportv2.h"
|
#include "xmlreportv2.h"
|
||||||
|
|
|
@ -34,7 +34,8 @@ class QModelIndex;
|
||||||
class QPrinter;
|
class QPrinter;
|
||||||
class QSettings;
|
class QSettings;
|
||||||
class CheckStatistics;
|
class CheckStatistics;
|
||||||
class QListWidgetItem;
|
class QObject;
|
||||||
|
class QPoint;
|
||||||
namespace Ui {
|
namespace Ui {
|
||||||
class ResultsView;
|
class ResultsView;
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
|
|
||||||
#include "scratchpad.h"
|
#include "scratchpad.h"
|
||||||
|
|
||||||
|
#include "codeeditor.h"
|
||||||
#include "mainwindow.h"
|
#include "mainwindow.h"
|
||||||
|
|
||||||
#include "ui_scratchpad.h"
|
#include "ui_scratchpad.h"
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
#include <QDialog>
|
#include <QDialog>
|
||||||
|
|
||||||
class MainWindow;
|
class MainWindow;
|
||||||
|
class QObject;
|
||||||
namespace Ui {
|
namespace Ui {
|
||||||
class ScratchPad;
|
class ScratchPad;
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
|
|
||||||
#include "settingsdialog.h"
|
#include "settingsdialog.h"
|
||||||
|
|
||||||
|
#include "application.h"
|
||||||
#include "applicationdialog.h"
|
#include "applicationdialog.h"
|
||||||
#include "applicationlist.h"
|
#include "applicationlist.h"
|
||||||
#include "codeeditorstyle.h"
|
#include "codeeditorstyle.h"
|
||||||
|
|
|
@ -28,6 +28,7 @@ class ApplicationList;
|
||||||
class TranslationHandler;
|
class TranslationHandler;
|
||||||
class CodeEditorStyle;
|
class CodeEditorStyle;
|
||||||
class QCheckBox;
|
class QCheckBox;
|
||||||
|
class QObject;
|
||||||
namespace Ui {
|
namespace Ui {
|
||||||
class Settings;
|
class Settings;
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
#include "checkstatistics.h"
|
#include "checkstatistics.h"
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
#include "projectfile.h"
|
#include "projectfile.h"
|
||||||
|
#include "showtypes.h"
|
||||||
|
|
||||||
#include "ui_statsdialog.h"
|
#include "ui_statsdialog.h"
|
||||||
|
|
||||||
|
|
|
@ -23,6 +23,8 @@
|
||||||
|
|
||||||
class ProjectFile;
|
class ProjectFile;
|
||||||
class CheckStatistics;
|
class CheckStatistics;
|
||||||
|
class QObject;
|
||||||
|
class QWidget;
|
||||||
namespace Ui {
|
namespace Ui {
|
||||||
class StatsDialog;
|
class StatsDialog;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,8 +16,11 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "color.h"
|
||||||
#include "errorlogger.h"
|
#include "errorlogger.h"
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
|
|
||||||
class BenchmarkSimple : public QObject, public ErrorLogger {
|
class BenchmarkSimple : public QObject, public ErrorLogger {
|
||||||
|
|
|
@ -23,6 +23,10 @@
|
||||||
#include "resultsview.h"
|
#include "resultsview.h"
|
||||||
#include "settings.h"
|
#include "settings.h"
|
||||||
|
|
||||||
|
#include <list>
|
||||||
|
#include <string>
|
||||||
|
#include <utility>
|
||||||
|
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
#include <QFileInfo>
|
#include <QFileInfo>
|
||||||
#include <QSettings>
|
#include <QSettings>
|
||||||
|
|
|
@ -35,6 +35,7 @@ class CheckThread;
|
||||||
class QSettings;
|
class QSettings;
|
||||||
class Settings;
|
class Settings;
|
||||||
class ImportProject;
|
class ImportProject;
|
||||||
|
class ErrorItem;
|
||||||
|
|
||||||
/// @addtogroup GUI
|
/// @addtogroup GUI
|
||||||
/// @{
|
/// @{
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
#include "erroritem.h"
|
#include "erroritem.h"
|
||||||
#include "errorlogger.h"
|
#include "errorlogger.h"
|
||||||
|
#include "errortypes.h"
|
||||||
|
|
||||||
#include <QFile>
|
#include <QFile>
|
||||||
|
|
||||||
|
|
|
@ -24,6 +24,9 @@
|
||||||
#include "errorlogger.h"
|
#include "errorlogger.h"
|
||||||
#include "importproject.h"
|
#include "importproject.h"
|
||||||
|
|
||||||
|
#include <list>
|
||||||
|
#include <string>
|
||||||
|
|
||||||
#include <QMutex>
|
#include <QMutex>
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
#include <QStringList>
|
#include <QStringList>
|
||||||
|
|
|
@ -24,6 +24,9 @@
|
||||||
#include <QString>
|
#include <QString>
|
||||||
#include <QTextStream>
|
#include <QTextStream>
|
||||||
|
|
||||||
|
class ErrorItem;
|
||||||
|
class QObject;
|
||||||
|
|
||||||
/// @addtogroup GUI
|
/// @addtogroup GUI
|
||||||
/// @{
|
/// @{
|
||||||
|
|
||||||
|
|
|
@ -19,6 +19,7 @@
|
||||||
#ifndef XML_REPORTV2_H
|
#ifndef XML_REPORTV2_H
|
||||||
#define XML_REPORTV2_H
|
#define XML_REPORTV2_H
|
||||||
|
|
||||||
|
#include "erroritem.h"
|
||||||
#include "xmlreport.h"
|
#include "xmlreport.h"
|
||||||
|
|
||||||
#include <QString>
|
#include <QString>
|
||||||
|
|
|
@ -32,11 +32,9 @@
|
||||||
#include "errortypes.h"
|
#include "errortypes.h"
|
||||||
#include "symboldatabase.h"
|
#include "symboldatabase.h"
|
||||||
|
|
||||||
class Function;
|
|
||||||
class Library;
|
class Library;
|
||||||
class Settings;
|
class Settings;
|
||||||
class Token;
|
class Token;
|
||||||
class Variable;
|
|
||||||
|
|
||||||
enum class ChildrenToVisit {
|
enum class ChildrenToVisit {
|
||||||
none,
|
none,
|
||||||
|
|
|
@ -30,7 +30,6 @@
|
||||||
#include "tokenize.h"
|
#include "tokenize.h"
|
||||||
#include "valueflow.h"
|
#include "valueflow.h"
|
||||||
|
|
||||||
#include <algorithm>
|
|
||||||
#include <list>
|
#include <list>
|
||||||
#include <unordered_set>
|
#include <unordered_set>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
|
@ -36,10 +36,6 @@
|
||||||
class ErrorLogger;
|
class ErrorLogger;
|
||||||
class Settings;
|
class Settings;
|
||||||
class Token;
|
class Token;
|
||||||
class Function;
|
|
||||||
class Scope;
|
|
||||||
class Type;
|
|
||||||
class Variable;
|
|
||||||
|
|
||||||
namespace CTU {
|
namespace CTU {
|
||||||
class FileInfo;
|
class FileInfo;
|
||||||
|
|
|
@ -40,7 +40,6 @@
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <ostream>
|
#include <ostream>
|
||||||
#include <set>
|
#include <set>
|
||||||
#include <type_traits>
|
|
||||||
#include <utility>
|
#include <utility>
|
||||||
#include <numeric>
|
#include <numeric>
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,6 @@
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <list>
|
#include <list>
|
||||||
#include <memory>
|
|
||||||
#include <set>
|
#include <set>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
|
@ -34,6 +34,7 @@
|
||||||
#include <iosfwd>
|
#include <iosfwd>
|
||||||
#include <list>
|
#include <list>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
#include <stack>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
#include <tinyxml2.h>
|
#include <tinyxml2.h>
|
||||||
|
|
|
@ -36,7 +36,6 @@
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
class Token;
|
class Token;
|
||||||
class TokenList;
|
|
||||||
class Settings;
|
class Settings;
|
||||||
|
|
||||||
namespace tinyxml2 {
|
namespace tinyxml2 {
|
||||||
|
|
|
@ -36,7 +36,6 @@
|
||||||
#include <list>
|
#include <list>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <type_traits>
|
|
||||||
#include <utility>
|
#include <utility>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
|
|
@ -26,6 +26,7 @@
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
#include <functional>
|
#include <functional>
|
||||||
#include <map>
|
#include <map>
|
||||||
|
#include <string>
|
||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
|
|
||||||
class Token;
|
class Token;
|
||||||
|
|
|
@ -34,7 +34,6 @@
|
||||||
#include <atomic>
|
#include <atomic>
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <list>
|
#include <list>
|
||||||
#include <map>
|
|
||||||
#include <set>
|
#include <set>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
|
@ -22,7 +22,9 @@
|
||||||
#include "mathlib.h"
|
#include "mathlib.h"
|
||||||
#include "path.h"
|
#include "path.h"
|
||||||
#include "utils.h"
|
#include "utils.h"
|
||||||
|
#include "token.h"
|
||||||
#include "tokenize.h"
|
#include "tokenize.h"
|
||||||
|
#include "tokenlist.h"
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <cctype> // std::isdigit, std::isalnum, etc
|
#include <cctype> // std::isdigit, std::isalnum, etc
|
||||||
|
|
|
@ -33,6 +33,7 @@
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <set>
|
#include <set>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
#include <type_traits>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,6 @@
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <stack>
|
#include <stack>
|
||||||
#include <type_traits>
|
|
||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
static Token *skipRequires(Token *tok)
|
static Token *skipRequires(Token *tok)
|
||||||
|
|
|
@ -115,7 +115,6 @@
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <set>
|
#include <set>
|
||||||
#include <stack>
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <type_traits>
|
#include <type_traits>
|
||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
|
|
|
@ -26,6 +26,7 @@
|
||||||
#include "tokenize.h"
|
#include "tokenize.h"
|
||||||
#include "tokenlist.h"
|
#include "tokenlist.h"
|
||||||
|
|
||||||
|
#include <algorithm>
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <limits>
|
#include <limits>
|
||||||
|
|
|
@ -21,11 +21,13 @@
|
||||||
#include "testutils.h"
|
#include "testutils.h"
|
||||||
#include "threadexecutor.h"
|
#include "threadexecutor.h"
|
||||||
|
|
||||||
|
#include <algorithm>
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <ostream>
|
#include <ostream>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
class TestThreadExecutor : public TestFixture {
|
class TestThreadExecutor : public TestFixture {
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
#include <iosfwd>
|
#include <iosfwd>
|
||||||
#include <list>
|
#include <list>
|
||||||
|
#include <ostream>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
class Token;
|
class Token;
|
||||||
|
|
Loading…
Reference in New Issue