Clang: Add button to generate compile_commands.json

Change-Id: Iaabdcfc8d1b3463c3f6e5ce47536f9c52556eac0
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
This commit is contained in:
Ivan Donchevskii
2018-07-10 15:53:51 +02:00
parent 934e9b2e19
commit f60b035295
8 changed files with 246 additions and 73 deletions

View File

@@ -35,6 +35,11 @@ QT_END_NAMESPACE
namespace CppTools {
class CppEditorDocumentHandle;
class ProjectInfo;
}
namespace Utils {
class FileName;
}
namespace ClangBackEnd { class TokenInfoContainer; }
@@ -60,5 +65,7 @@ QString diagnosticCategoryPrefixRemoved(const QString &text);
::Utils::CodeModelIcon::Type iconTypeForToken(const ClangBackEnd::TokenInfoContainer &token);
void generateCompilationDB(::Utils::FileName projectDir, CppTools::ProjectInfo projectInfo);
} // namespace Utils
} // namespace Clang