forked from qt-creator/qt-creator
Clang: Allow to forward warnings flags from build system
Change-Id: I47ebb1ce4f3b5544408eb1d0f891ed5090394282 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
This commit is contained in:
@@ -65,6 +65,9 @@ public:
|
||||
bool isReadOnly() const;
|
||||
void setIsReadOnly(bool isReadOnly);
|
||||
|
||||
bool useBuildSystemWarnings() const;
|
||||
void setUseBuildSystemWarnings(bool useBuildSystemWarnings);
|
||||
|
||||
bool operator==(const ClangDiagnosticConfig &other) const;
|
||||
bool operator!=(const ClangDiagnosticConfig &other) const;
|
||||
|
||||
@@ -76,6 +79,7 @@ private:
|
||||
QString m_clangTidyChecks;
|
||||
QString m_clazyChecks;
|
||||
bool m_isReadOnly = false;
|
||||
bool m_useBuildSystemWarnings = false;
|
||||
};
|
||||
|
||||
using ClangDiagnosticConfigs = QVector<ClangDiagnosticConfig>;
|
||||
|
||||
Reference in New Issue
Block a user