forked from qt-creator/qt-creator
PchManager: Fix generated file handling in PchCreator
Task-number: QTCREATORBUG-21843 Change-Id: I0517b87725117b7db7db14d32b737a0a6f2b3c35 Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
This commit is contained in:
@@ -149,4 +149,10 @@ clang::tooling::ClangTool ClangTool::createOutputTool() const
|
||||
return tool;
|
||||
}
|
||||
|
||||
bool ClangTool::isClean() const
|
||||
{
|
||||
return m_sourceFilePaths.empty() && m_fileContents.empty()
|
||||
&& m_compilationDatabase.getAllFiles().empty() && m_unsavedFileContents.empty();
|
||||
}
|
||||
|
||||
} // namespace ClangBackEnd
|
||||
|
||||
Reference in New Issue
Block a user