2022-08-19 15:59:36 +02:00
|
|
|
// Copyright (C) 2018 Sergey Morozov
|
2022-12-21 10:12:09 +01:00
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
2018-07-30 21:42:47 +03:00
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <coreplugin/dialogs/ioptionspage.h>
|
|
|
|
|
|
2023-01-09 18:08:30 +01:00
|
|
|
namespace Cppcheck::Internal {
|
2018-07-30 21:42:47 +03:00
|
|
|
|
|
|
|
|
class CppcheckTool;
|
|
|
|
|
class CppcheckTrigger;
|
|
|
|
|
|
2023-05-15 18:00:42 +02:00
|
|
|
class CppcheckOptions final : public Core::PagedSettings
|
2019-11-03 23:00:16 +03:00
|
|
|
{
|
|
|
|
|
public:
|
2023-05-15 18:00:42 +02:00
|
|
|
CppcheckOptions();
|
|
|
|
|
|
|
|
|
|
std::function<void(QWidget *widget)> layouter();
|
|
|
|
|
|
2023-05-17 17:18:11 +02:00
|
|
|
Utils::FilePathAspect binary;
|
2023-05-15 18:00:42 +02:00
|
|
|
Utils::BoolAspect warning;
|
|
|
|
|
Utils::BoolAspect style;
|
|
|
|
|
Utils::BoolAspect performance;
|
|
|
|
|
Utils::BoolAspect portability;
|
|
|
|
|
Utils::BoolAspect information;
|
|
|
|
|
Utils::BoolAspect unusedFunction;
|
|
|
|
|
Utils::BoolAspect missingInclude;
|
|
|
|
|
Utils::BoolAspect inconclusive;
|
|
|
|
|
Utils::BoolAspect forceDefines;
|
|
|
|
|
|
|
|
|
|
Utils::StringAspect customArguments;
|
|
|
|
|
Utils::StringAspect ignoredPatterns;
|
|
|
|
|
Utils::BoolAspect showOutput;
|
|
|
|
|
Utils::BoolAspect addIncludePaths;
|
|
|
|
|
Utils::BoolAspect guessArguments;
|
2018-07-30 21:42:47 +03:00
|
|
|
};
|
|
|
|
|
|
2023-01-09 18:08:30 +01:00
|
|
|
} // Cppcheck::Internal
|