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:
Oliver Stöneberg 2022-04-13 12:24:00 +02:00 committed by GitHub
parent 5ac4afa5b8
commit 45158ec064
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
79 changed files with 2874 additions and 2746 deletions

View File

@ -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"

View File

@ -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;

View File

@ -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 {

View File

@ -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>

View File

@ -25,6 +25,7 @@
#include <QThread> #include <QThread>
class QObject;
class Settings; class Settings;
class ThreadResult; class ThreadResult;

View File

@ -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) :

View File

@ -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

View File

@ -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))

View File

@ -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:

View File

@ -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"

View File

@ -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

View File

@ -24,6 +24,8 @@
#include <QString> #include <QString>
#include <QTextStream> #include <QTextStream>
class ErrorItem;
/// @addtogroup GUI /// @addtogroup GUI
/// @{ /// @{

View File

@ -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)

View File

@ -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()

View File

@ -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 {

View File

@ -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;

View File

@ -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) {}

View File

@ -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)

View File

@ -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

View File

@ -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 {

View File

@ -24,7 +24,8 @@
#include <QDialog> #include <QDialog>
class QListWidgetItem; class QListWidgetItem;
class QObject;
class QWidget;
namespace Ui { namespace Ui {
class LibraryDialog; class LibraryDialog;
} }

View File

@ -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),

View File

@ -23,6 +23,8 @@
#include <QDialog> #include <QDialog>
class QObject;
class QWidget;
namespace Ui { namespace Ui {
class LibraryEditArgDialog; class LibraryEditArgDialog;
} }

View File

@ -29,6 +29,7 @@
#else #else
#include <iostream> #include <iostream>
#endif #endif
#include <string>
#include <QApplication> #include <QApplication>
#include <QCoreApplication> #include <QCoreApplication>

View File

@ -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>

View File

@ -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;
} }

View File

@ -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)

View File

@ -23,6 +23,8 @@
#include <QDialog> #include <QDialog>
class QObject;
class QWidget;
namespace Ui { namespace Ui {
class NewSuppressionDialog; class NewSuppressionDialog;
} }

View File

@ -21,6 +21,8 @@
#include "report.h" #include "report.h"
class ErrorItem;
/// @addtogroup GUI /// @addtogroup GUI
/// @{ /// @{

View File

@ -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>

View File

@ -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>

View File

@ -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)
{ {

View File

@ -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;

View File

@ -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>

View File

@ -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

View File

@ -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"

View File

@ -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;
} }

View File

@ -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"

View File

@ -22,6 +22,7 @@
#include <QDialog> #include <QDialog>
class MainWindow; class MainWindow;
class QObject;
namespace Ui { namespace Ui {
class ScratchPad; class ScratchPad;
} }

View File

@ -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"

View File

@ -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;
} }

View File

@ -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"

View File

@ -23,6 +23,8 @@
class ProjectFile; class ProjectFile;
class CheckStatistics; class CheckStatistics;
class QObject;
class QWidget;
namespace Ui { namespace Ui {
class StatsDialog; class StatsDialog;
} }

View File

@ -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 {

View File

@ -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>

View File

@ -35,6 +35,7 @@ class CheckThread;
class QSettings; class QSettings;
class Settings; class Settings;
class ImportProject; class ImportProject;
class ErrorItem;
/// @addtogroup GUI /// @addtogroup GUI
/// @{ /// @{

View File

@ -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>

View File

@ -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>

View File

@ -24,6 +24,9 @@
#include <QString> #include <QString>
#include <QTextStream> #include <QTextStream>
class ErrorItem;
class QObject;
/// @addtogroup GUI /// @addtogroup GUI
/// @{ /// @{

View File

@ -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>

View File

@ -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,

View File

@ -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>

View File

@ -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;

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -36,7 +36,6 @@
#include <vector> #include <vector>
class Token; class Token;
class TokenList;
class Settings; class Settings;
namespace tinyxml2 { namespace tinyxml2 {

View File

@ -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>

View File

@ -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;

View File

@ -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>

View File

@ -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

View File

@ -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>

View File

@ -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)

View File

@ -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>

View File

@ -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>

View File

@ -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:

View File

@ -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;