forked from qt-creator/qt-creator
CppCheck: Register settingsaspect more directly
Change-Id: I325c7329618b4dbdd36bb1464627806e5f116bc0 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -7,9 +7,6 @@
|
||||
|
||||
namespace Cppcheck::Internal {
|
||||
|
||||
class CppcheckTool;
|
||||
class CppcheckTrigger;
|
||||
|
||||
class CppcheckOptions final : public Core::PagedSettings
|
||||
{
|
||||
public:
|
||||
@@ -17,22 +14,22 @@ public:
|
||||
|
||||
std::function<void(QWidget *widget)> layouter();
|
||||
|
||||
Utils::FilePathAspect binary;
|
||||
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::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;
|
||||
Utils::StringAspect ignoredPatterns;
|
||||
Utils::BoolAspect showOutput;
|
||||
Utils::BoolAspect addIncludePaths;
|
||||
Utils::BoolAspect guessArguments;
|
||||
Utils::StringAspect customArguments{this};
|
||||
Utils::StringAspect ignoredPatterns{this};
|
||||
Utils::BoolAspect showOutput{this};
|
||||
Utils::BoolAspect addIncludePaths{this};
|
||||
Utils::BoolAspect guessArguments{this};
|
||||
};
|
||||
|
||||
} // Cppcheck::Internal
|
||||
|
||||
Reference in New Issue
Block a user