forked from qt-creator/qt-creator
ClangTools: Add automatic clang tool runner for open documents
Fixes: QTCREATORBUG-23349 Change-Id: I81197180c9d69c7df6184f8fcbf05f2256eaf7f6 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -54,10 +54,16 @@ public:
|
||||
int parallelJobs() const { return m_parallelJobs; }
|
||||
void setParallelJobs(int jobs) { m_parallelJobs = jobs; }
|
||||
|
||||
bool analyzeOpenFiles() const { return m_analyzeOpenFiles; }
|
||||
void setAnalyzeOpenFiles(bool analyzeOpenFiles) { m_analyzeOpenFiles = analyzeOpenFiles; }
|
||||
|
||||
bool operator==(const RunSettings &other) const;
|
||||
|
||||
private:
|
||||
Utils::Id m_diagnosticConfigId;
|
||||
int m_parallelJobs = -1;
|
||||
bool m_buildBeforeAnalysis = true;
|
||||
bool m_analyzeOpenFiles = true;
|
||||
};
|
||||
|
||||
class ClangToolsSettings : public QObject
|
||||
|
||||
Reference in New Issue
Block a user