CppTools: Add convenience functions to ClangDiagnosticConfig

Change-Id: Iebf01e1ab71dc3500cc6e492c525735f300272ca
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
Nikolai Kosjar
2019-10-31 10:40:03 +01:00
parent 4d09e77719
commit 7bb333f15a
4 changed files with 17 additions and 3 deletions

View File

@@ -71,6 +71,8 @@ public:
QString clangTidyChecks() const;
void setClangTidyChecks(const QString &checks);
bool isClangTidyEnabled() const;
// Clazy
enum class ClazyMode
{
@@ -83,6 +85,8 @@ public:
QString clazyChecks() const;
void setClazyChecks(const QString &checks);
bool isClazyEnabled() const;
bool operator==(const ClangDiagnosticConfig &other) const;
bool operator!=(const ClangDiagnosticConfig &other) const;