forked from qt-creator/qt-creator
Compilation database: Add information to message pane
We must tell users where we generated the file, and also inform them about errors. Change-Id: I6383655e2f731f41b9121b2a6a31bba551d1c1de Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
This commit is contained in:
@@ -70,7 +70,19 @@ QString diagnosticCategoryPrefixRemoved(const QString &text);
|
||||
|
||||
::Utils::CodeModelIcon::Type iconTypeForToken(const ClangBackEnd::TokenInfoContainer &token);
|
||||
|
||||
void generateCompilationDB(CppTools::ProjectInfo projectInfo);
|
||||
class GenerateCompilationDbResult
|
||||
{
|
||||
public:
|
||||
GenerateCompilationDbResult() = default;
|
||||
GenerateCompilationDbResult(const QString &filePath, const QString &error)
|
||||
: filePath(filePath), error(error)
|
||||
{}
|
||||
|
||||
QString filePath;
|
||||
QString error;
|
||||
};
|
||||
|
||||
GenerateCompilationDbResult generateCompilationDB(CppTools::ProjectInfo projectInfo);
|
||||
|
||||
class DiagnosticTextInfo
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user