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
|
|
|
|
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();
|
|
|
|
|
|
2023-05-31 08:47:33 +02:00
|
|
|
std::function<Layouting::LayoutItem()> layouter();
|
2023-05-15 18:00:42 +02:00
|
|
|
|
2023-05-26 10:33:02 +02:00
|
|
|
Utils::FilePathAspect binary{this};
|
|
|
|
|
Utils::BoolAspect warning{this};
|
|
|
|
|
Utils::BoolAspect style{this};
|
|
|
|
|
Utils::BoolAspect performance{this};
|
|
|
|
|
Utils::BoolAspect portability{this};
|
|
|
|
|
Utils::BoolAspect information{this};
|
|
|
|
|
Utils::BoolAspect unusedFunction{this};
|
|
|
|
|
Utils::BoolAspect missingInclude{this};
|
|
|
|
|
Utils::BoolAspect inconclusive{this};
|
|
|
|
|
Utils::BoolAspect forceDefines{this};
|
|
|
|
|
|
|
|
|
|
Utils::StringAspect customArguments{this};
|
|
|
|
|
Utils::StringAspect ignoredPatterns{this};
|
|
|
|
|
Utils::BoolAspect showOutput{this};
|
|
|
|
|
Utils::BoolAspect addIncludePaths{this};
|
|
|
|
|
Utils::BoolAspect guessArguments{this};
|
2018-07-30 21:42:47 +03:00
|
|
|
};
|
|
|
|
|
|
2023-01-09 18:08:30 +01:00
|
|
|
} // Cppcheck::Internal
|