2014-09-25 11:11:58 +02:00
|
|
|
/****************************************************************************
|
|
|
|
|
**
|
2016-01-14 10:59:10 +01:00
|
|
|
** Copyright (C) 2016 The Qt Company Ltd.
|
|
|
|
|
** Contact: https://www.qt.io/licensing/
|
2014-09-25 11:11:58 +02:00
|
|
|
**
|
2016-01-14 10:59:10 +01:00
|
|
|
** This file is part of Qt Creator.
|
2014-09-25 11:11:58 +02:00
|
|
|
**
|
2016-01-14 10:59:10 +01:00
|
|
|
** Commercial License Usage
|
|
|
|
|
** Licensees holding valid commercial Qt licenses may use this file in
|
|
|
|
|
** accordance with the commercial license agreement provided with the
|
2014-09-25 11:11:58 +02:00
|
|
|
** Software or, alternatively, in accordance with the terms contained in
|
2016-01-14 10:59:10 +01:00
|
|
|
** a written agreement between you and The Qt Company. For licensing terms
|
|
|
|
|
** and conditions see https://www.qt.io/terms-conditions. For further
|
|
|
|
|
** information use the contact form at https://www.qt.io/contact-us.
|
2014-09-25 11:11:58 +02:00
|
|
|
**
|
2016-01-14 10:59:10 +01:00
|
|
|
** GNU General Public License Usage
|
|
|
|
|
** Alternatively, this file may be used under the terms of the GNU
|
|
|
|
|
** General Public License version 3 as published by the Free Software
|
|
|
|
|
** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
|
|
|
|
|
** included in the packaging of this file. Please review the following
|
|
|
|
|
** information to ensure the GNU General Public License requirements will
|
|
|
|
|
** be met: https://www.gnu.org/licenses/gpl-3.0.html.
|
2014-09-25 11:11:58 +02:00
|
|
|
**
|
|
|
|
|
****************************************************************************/
|
|
|
|
|
|
|
|
|
|
#include "clangstaticanalyzertool.h"
|
|
|
|
|
|
2015-06-30 10:56:56 +02:00
|
|
|
#include "clangstaticanalyzerconstants.h"
|
2015-06-19 15:37:16 +02:00
|
|
|
#include "clangstaticanalyzerdiagnostic.h"
|
2014-09-25 11:11:58 +02:00
|
|
|
#include "clangstaticanalyzerdiagnosticmodel.h"
|
|
|
|
|
#include "clangstaticanalyzerdiagnosticview.h"
|
|
|
|
|
#include "clangstaticanalyzerruncontrol.h"
|
|
|
|
|
|
|
|
|
|
#include <analyzerbase/analyzermanager.h>
|
|
|
|
|
#include <coreplugin/coreconstants.h>
|
2015-11-24 14:33:54 +01:00
|
|
|
#include <coreplugin/coreicons.h>
|
2014-10-31 15:55:32 +01:00
|
|
|
#include <coreplugin/icore.h>
|
2014-11-05 13:28:44 +01:00
|
|
|
#include <cpptools/cppmodelmanager.h>
|
2014-10-31 15:55:32 +01:00
|
|
|
#include <projectexplorer/buildconfiguration.h>
|
2014-09-25 11:11:58 +02:00
|
|
|
#include <projectexplorer/projectexplorer.h>
|
|
|
|
|
#include <projectexplorer/projectexplorerconstants.h>
|
|
|
|
|
#include <projectexplorer/session.h>
|
2014-10-31 15:55:32 +01:00
|
|
|
#include <projectexplorer/target.h>
|
2014-09-25 11:11:58 +02:00
|
|
|
|
2014-10-31 15:55:32 +01:00
|
|
|
#include <utils/checkablemessagebox.h>
|
2014-09-25 11:11:58 +02:00
|
|
|
#include <utils/fancymainwindow.h>
|
|
|
|
|
|
|
|
|
|
#include <QDockWidget>
|
|
|
|
|
#include <QHBoxLayout>
|
|
|
|
|
#include <QLabel>
|
|
|
|
|
#include <QListView>
|
|
|
|
|
#include <QSortFilterProxyModel>
|
|
|
|
|
#include <QToolButton>
|
|
|
|
|
|
|
|
|
|
using namespace Analyzer;
|
|
|
|
|
using namespace ProjectExplorer;
|
|
|
|
|
|
|
|
|
|
namespace ClangStaticAnalyzer {
|
|
|
|
|
namespace Internal {
|
|
|
|
|
|
2015-03-03 15:09:27 +01:00
|
|
|
class DummyRunConfiguration : public RunConfiguration
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
DummyRunConfiguration(Target *parent)
|
|
|
|
|
: RunConfiguration(parent, "ClangStaticAnalyzer.DummyRunConfig")
|
|
|
|
|
{
|
|
|
|
|
setDefaultDisplayName(tr("Clang Static Analyzer"));
|
|
|
|
|
addExtraAspects();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private:
|
2015-11-13 11:53:12 +01:00
|
|
|
QWidget *createConfigurationWidget() override { return 0; }
|
2015-03-03 15:09:27 +01:00
|
|
|
};
|
|
|
|
|
|
2014-09-25 11:11:58 +02:00
|
|
|
ClangStaticAnalyzerTool::ClangStaticAnalyzerTool(QObject *parent)
|
2015-02-18 16:05:46 +01:00
|
|
|
: QObject(parent)
|
2014-09-25 11:11:58 +02:00
|
|
|
, m_diagnosticModel(0)
|
2015-02-19 18:08:38 +01:00
|
|
|
, m_diagnosticFilterModel(0)
|
2014-09-25 11:11:58 +02:00
|
|
|
, m_diagnosticView(0)
|
|
|
|
|
, m_goBack(0)
|
|
|
|
|
, m_goNext(0)
|
2015-02-04 15:19:30 +01:00
|
|
|
, m_running(false)
|
2014-09-25 11:11:58 +02:00
|
|
|
{
|
|
|
|
|
setObjectName(QLatin1String("ClangStaticAnalyzerTool"));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
QWidget *ClangStaticAnalyzerTool::createWidgets()
|
|
|
|
|
{
|
|
|
|
|
QTC_ASSERT(!m_diagnosticView, return 0);
|
|
|
|
|
QTC_ASSERT(!m_diagnosticModel, return 0);
|
|
|
|
|
QTC_ASSERT(!m_goBack, return 0);
|
|
|
|
|
QTC_ASSERT(!m_goNext, return 0);
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
// Diagnostic View
|
|
|
|
|
//
|
2014-11-14 13:39:59 +01:00
|
|
|
m_diagnosticView = new ClangStaticAnalyzerDiagnosticView;
|
2014-09-25 11:11:58 +02:00
|
|
|
m_diagnosticView->setFrameStyle(QFrame::NoFrame);
|
|
|
|
|
m_diagnosticView->setAttribute(Qt::WA_MacShowFocusRect, false);
|
2015-06-19 15:37:16 +02:00
|
|
|
m_diagnosticModel = new ClangStaticAnalyzerDiagnosticModel(this);
|
|
|
|
|
m_diagnosticFilterModel = new ClangStaticAnalyzerDiagnosticFilterModel(this);
|
2015-02-19 18:08:38 +01:00
|
|
|
m_diagnosticFilterModel->setSourceModel(m_diagnosticModel);
|
|
|
|
|
m_diagnosticView->setModel(m_diagnosticFilterModel);
|
2014-09-25 11:11:58 +02:00
|
|
|
m_diagnosticView->setVerticalScrollMode(QAbstractItemView::ScrollPerPixel);
|
|
|
|
|
m_diagnosticView->setAutoScroll(false);
|
|
|
|
|
m_diagnosticView->setObjectName(QLatin1String("ClangStaticAnalyzerIssuesView"));
|
|
|
|
|
m_diagnosticView->setWindowTitle(tr("Clang Static Analyzer Issues"));
|
2015-03-02 15:35:10 +01:00
|
|
|
foreach (auto * const model,
|
|
|
|
|
QList<QAbstractItemModel *>() << m_diagnosticModel << m_diagnosticFilterModel) {
|
|
|
|
|
connect(model, &QAbstractItemModel::rowsInserted,
|
|
|
|
|
this, &ClangStaticAnalyzerTool::handleStateUpdate);
|
|
|
|
|
connect(model, &QAbstractItemModel::rowsRemoved,
|
|
|
|
|
this, &ClangStaticAnalyzerTool::handleStateUpdate);
|
|
|
|
|
connect(model, &QAbstractItemModel::modelReset,
|
|
|
|
|
this, &ClangStaticAnalyzerTool::handleStateUpdate);
|
|
|
|
|
connect(model, &QAbstractItemModel::layoutChanged, // For QSortFilterProxyModel::invalidate()
|
|
|
|
|
this, &ClangStaticAnalyzerTool::handleStateUpdate);
|
|
|
|
|
}
|
2014-09-25 11:11:58 +02:00
|
|
|
|
2015-02-18 16:05:46 +01:00
|
|
|
QDockWidget *issuesDock = AnalyzerManager::createDockWidget(ClangStaticAnalyzerToolId,
|
|
|
|
|
m_diagnosticView);
|
2014-09-25 11:11:58 +02:00
|
|
|
issuesDock->show();
|
|
|
|
|
Utils::FancyMainWindow *mw = AnalyzerManager::mainWindow();
|
|
|
|
|
mw->splitDockWidget(mw->toolBarDockWidget(), issuesDock, Qt::Vertical);
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
// Toolbar widget
|
|
|
|
|
//
|
|
|
|
|
QHBoxLayout *layout = new QHBoxLayout;
|
|
|
|
|
layout->setMargin(0);
|
|
|
|
|
layout->setSpacing(0);
|
|
|
|
|
|
|
|
|
|
QAction *action = 0;
|
|
|
|
|
QToolButton *button = 0;
|
|
|
|
|
|
|
|
|
|
// Go to previous diagnostic
|
|
|
|
|
action = new QAction(this);
|
|
|
|
|
action->setDisabled(true);
|
2015-11-24 14:33:54 +01:00
|
|
|
action->setIcon(Core::Icons::PREV.icon());
|
2014-09-25 11:11:58 +02:00
|
|
|
action->setToolTip(tr("Go to previous bug."));
|
|
|
|
|
connect(action, &QAction::triggered, m_diagnosticView, &DetailedErrorView::goBack);
|
|
|
|
|
button = new QToolButton;
|
|
|
|
|
button->setDefaultAction(action);
|
|
|
|
|
layout->addWidget(button);
|
|
|
|
|
m_goBack = action;
|
|
|
|
|
|
|
|
|
|
// Go to next diagnostic
|
|
|
|
|
action = new QAction(this);
|
|
|
|
|
action->setDisabled(true);
|
2015-11-24 14:33:54 +01:00
|
|
|
action->setIcon(Core::Icons::NEXT.icon());
|
2014-09-25 11:11:58 +02:00
|
|
|
action->setToolTip(tr("Go to next bug."));
|
|
|
|
|
connect(action, &QAction::triggered, m_diagnosticView, &DetailedErrorView::goNext);
|
|
|
|
|
button = new QToolButton;
|
|
|
|
|
button->setDefaultAction(action);
|
|
|
|
|
layout->addWidget(button);
|
|
|
|
|
m_goNext = action;
|
|
|
|
|
|
|
|
|
|
layout->addStretch();
|
|
|
|
|
|
|
|
|
|
QWidget *toolbarWidget = new QWidget;
|
|
|
|
|
toolbarWidget->setObjectName(QLatin1String("ClangStaticAnalyzerToolBarWidget"));
|
|
|
|
|
toolbarWidget->setLayout(layout);
|
|
|
|
|
return toolbarWidget;
|
|
|
|
|
}
|
|
|
|
|
|
2016-01-20 10:55:34 +01:00
|
|
|
AnalyzerRunControl *ClangStaticAnalyzerTool::createRunControl(RunConfiguration *runConfiguration,
|
|
|
|
|
Core::Id runMode)
|
2014-09-25 11:11:58 +02:00
|
|
|
{
|
2014-11-05 13:28:44 +01:00
|
|
|
QTC_ASSERT(runConfiguration, return 0);
|
2014-11-07 11:32:40 +01:00
|
|
|
QTC_ASSERT(m_projectInfoBeforeBuild.isValid(), return 0);
|
2014-11-05 13:28:44 +01:00
|
|
|
|
2014-11-07 11:32:40 +01:00
|
|
|
// Some projects provides CompilerCallData once a build is finished,
|
|
|
|
|
// so pass on the updated Project Info unless no configuration change
|
|
|
|
|
// (defines/includes/files) happened.
|
2015-04-16 12:29:24 +02:00
|
|
|
Project *project = runConfiguration->target()->project();
|
2014-11-07 11:32:40 +01:00
|
|
|
QTC_ASSERT(project, return 0);
|
|
|
|
|
const CppTools::ProjectInfo projectInfoAfterBuild
|
|
|
|
|
= CppTools::CppModelManager::instance()->projectInfo(project);
|
|
|
|
|
QTC_ASSERT(!projectInfoAfterBuild.configurationOrFilesChanged(m_projectInfoBeforeBuild),
|
|
|
|
|
return 0);
|
|
|
|
|
m_projectInfoBeforeBuild = CppTools::ProjectInfo();
|
|
|
|
|
|
2016-01-20 10:55:34 +01:00
|
|
|
auto runControl = new ClangStaticAnalyzerRunControl(runConfiguration, runMode,
|
|
|
|
|
projectInfoAfterBuild);
|
|
|
|
|
connect(runControl, &ClangStaticAnalyzerRunControl::starting,
|
2014-09-25 11:11:58 +02:00
|
|
|
this, &ClangStaticAnalyzerTool::onEngineIsStarting);
|
2016-01-20 10:55:34 +01:00
|
|
|
connect(runControl, &ClangStaticAnalyzerRunControl::newDiagnosticsAvailable,
|
2014-09-25 11:11:58 +02:00
|
|
|
this, &ClangStaticAnalyzerTool::onNewDiagnosticsAvailable);
|
2016-01-20 10:55:34 +01:00
|
|
|
connect(runControl, &ClangStaticAnalyzerRunControl::finished,
|
2014-09-25 11:11:58 +02:00
|
|
|
this, &ClangStaticAnalyzerTool::onEngineFinished);
|
2016-01-20 10:55:34 +01:00
|
|
|
return runControl;
|
2014-09-25 11:11:58 +02:00
|
|
|
}
|
|
|
|
|
|
2015-04-16 12:29:24 +02:00
|
|
|
static bool dontStartAfterHintForDebugMode(Project *project)
|
2014-10-31 15:55:32 +01:00
|
|
|
{
|
|
|
|
|
BuildConfiguration::BuildType buildType = BuildConfiguration::Unknown;
|
|
|
|
|
if (project) {
|
|
|
|
|
if (const Target *target = project->activeTarget()) {
|
|
|
|
|
if (const BuildConfiguration *buildConfig = target->activeBuildConfiguration())
|
|
|
|
|
buildType = buildConfig->buildType();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (buildType == BuildConfiguration::Release) {
|
|
|
|
|
const QString wrongMode = ClangStaticAnalyzerTool::tr("Release");
|
|
|
|
|
const QString toolName = ClangStaticAnalyzerTool::tr("Clang Static Analyzer");
|
|
|
|
|
const QString title = ClangStaticAnalyzerTool::tr("Run %1 in %2 Mode?").arg(toolName)
|
|
|
|
|
.arg(wrongMode);
|
|
|
|
|
const QString message = ClangStaticAnalyzerTool::tr(
|
|
|
|
|
"<html><head/><body>"
|
|
|
|
|
"<p>You are trying to run the tool \"%1\" on an application in %2 mode. The tool is "
|
|
|
|
|
"designed to be used in Debug mode since enabled assertions can reduce the number of "
|
|
|
|
|
"false positives.</p>"
|
|
|
|
|
"<p>Do you want to continue and run the tool in %2 mode?</p>"
|
|
|
|
|
"</body></html>")
|
|
|
|
|
.arg(toolName).arg(wrongMode);
|
|
|
|
|
if (Utils::CheckableMessageBox::doNotAskAgainQuestion(Core::ICore::mainWindow(),
|
|
|
|
|
title, message, Core::ICore::settings(),
|
2014-11-14 11:17:01 +01:00
|
|
|
QLatin1String("ClangStaticAnalyzerCorrectModeWarning")) != QDialogButtonBox::Yes)
|
2014-10-31 15:55:32 +01:00
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
2015-02-20 10:05:44 +01:00
|
|
|
void ClangStaticAnalyzerTool::startTool()
|
2014-09-25 11:11:58 +02:00
|
|
|
{
|
|
|
|
|
AnalyzerManager::showMode();
|
2014-10-31 10:37:11 +01:00
|
|
|
|
2015-04-16 12:29:24 +02:00
|
|
|
Project *project = SessionManager::startupProject();
|
2015-05-07 14:40:11 +02:00
|
|
|
QTC_ASSERT(project, emit finished(false); return);
|
2015-04-16 12:29:24 +02:00
|
|
|
|
|
|
|
|
if (dontStartAfterHintForDebugMode(project))
|
2014-10-31 15:55:32 +01:00
|
|
|
return;
|
|
|
|
|
|
2014-10-31 10:37:11 +01:00
|
|
|
m_diagnosticModel->clear();
|
|
|
|
|
setBusyCursor(true);
|
2015-02-19 18:08:38 +01:00
|
|
|
m_diagnosticFilterModel->setProject(project);
|
2014-11-07 11:32:40 +01:00
|
|
|
m_projectInfoBeforeBuild = CppTools::CppModelManager::instance()->projectInfo(project);
|
2015-05-04 14:57:03 +02:00
|
|
|
QTC_ASSERT(m_projectInfoBeforeBuild.isValid(), emit finished(false); return);
|
2015-02-04 15:19:30 +01:00
|
|
|
m_running = true;
|
2015-03-02 15:35:10 +01:00
|
|
|
handleStateUpdate();
|
2015-03-03 15:09:27 +01:00
|
|
|
|
|
|
|
|
Target * const target = project->activeTarget();
|
|
|
|
|
QTC_ASSERT(target, return);
|
|
|
|
|
DummyRunConfiguration *& rc = m_runConfigs[target];
|
|
|
|
|
if (!rc) {
|
|
|
|
|
rc = new DummyRunConfiguration(target);
|
|
|
|
|
connect(project, &Project::aboutToRemoveTarget, this,
|
|
|
|
|
[this](Target *t) { m_runConfigs.remove(t); });
|
|
|
|
|
const auto onProjectRemoved = [this](Project *p) {
|
|
|
|
|
foreach (Target * const t, p->targets())
|
|
|
|
|
m_runConfigs.remove(t);
|
|
|
|
|
};
|
|
|
|
|
connect(SessionManager::instance(), &SessionManager::aboutToRemoveProject, this,
|
|
|
|
|
onProjectRemoved, Qt::UniqueConnection);
|
|
|
|
|
}
|
2015-06-30 10:56:56 +02:00
|
|
|
ProjectExplorerPlugin::runRunConfiguration(rc, Constants::CLANGSTATICANALYZER_RUN_MODE);
|
2014-11-05 13:28:44 +01:00
|
|
|
}
|
|
|
|
|
|
2014-11-07 11:32:40 +01:00
|
|
|
CppTools::ProjectInfo ClangStaticAnalyzerTool::projectInfoBeforeBuild() const
|
2014-11-05 13:28:44 +01:00
|
|
|
{
|
2014-11-07 11:32:40 +01:00
|
|
|
return m_projectInfoBeforeBuild;
|
2014-11-05 13:28:44 +01:00
|
|
|
}
|
|
|
|
|
|
2014-11-07 11:32:40 +01:00
|
|
|
void ClangStaticAnalyzerTool::resetCursorAndProjectInfoBeforeBuild()
|
2014-11-05 13:28:44 +01:00
|
|
|
{
|
|
|
|
|
setBusyCursor(false);
|
2014-11-07 11:32:40 +01:00
|
|
|
m_projectInfoBeforeBuild = CppTools::ProjectInfo();
|
2014-09-25 11:11:58 +02:00
|
|
|
}
|
|
|
|
|
|
2015-02-04 15:19:30 +01:00
|
|
|
QList<Diagnostic> ClangStaticAnalyzerTool::diagnostics() const
|
|
|
|
|
{
|
|
|
|
|
return m_diagnosticModel->diagnostics();
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-25 11:11:58 +02:00
|
|
|
void ClangStaticAnalyzerTool::onEngineIsStarting()
|
|
|
|
|
{
|
|
|
|
|
QTC_ASSERT(m_diagnosticModel, return);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void ClangStaticAnalyzerTool::onNewDiagnosticsAvailable(const QList<Diagnostic> &diagnostics)
|
|
|
|
|
{
|
|
|
|
|
QTC_ASSERT(m_diagnosticModel, return);
|
|
|
|
|
m_diagnosticModel->addDiagnostics(diagnostics);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void ClangStaticAnalyzerTool::onEngineFinished()
|
|
|
|
|
{
|
2014-11-07 11:32:40 +01:00
|
|
|
resetCursorAndProjectInfoBeforeBuild();
|
2015-02-04 15:19:30 +01:00
|
|
|
m_running = false;
|
2015-03-02 15:35:10 +01:00
|
|
|
handleStateUpdate();
|
2015-05-04 14:57:03 +02:00
|
|
|
emit finished(static_cast<ClangStaticAnalyzerRunControl *>(sender())->success());
|
2014-09-25 11:11:58 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void ClangStaticAnalyzerTool::setBusyCursor(bool busy)
|
|
|
|
|
{
|
|
|
|
|
QTC_ASSERT(m_diagnosticView, return);
|
|
|
|
|
QCursor cursor(busy ? Qt::BusyCursor : Qt::ArrowCursor);
|
|
|
|
|
m_diagnosticView->setCursor(cursor);
|
|
|
|
|
}
|
|
|
|
|
|
2015-03-02 15:35:10 +01:00
|
|
|
void ClangStaticAnalyzerTool::handleStateUpdate()
|
|
|
|
|
{
|
|
|
|
|
QTC_ASSERT(m_goBack, return);
|
|
|
|
|
QTC_ASSERT(m_goNext, return);
|
|
|
|
|
QTC_ASSERT(m_diagnosticModel, return);
|
|
|
|
|
QTC_ASSERT(m_diagnosticFilterModel, return);
|
|
|
|
|
|
2015-06-19 15:37:16 +02:00
|
|
|
const int issuesFound = m_diagnosticModel->diagnostics().count();
|
2015-03-02 15:35:10 +01:00
|
|
|
const int issuesVisible = m_diagnosticFilterModel->rowCount();
|
|
|
|
|
m_goBack->setEnabled(issuesVisible > 1);
|
|
|
|
|
m_goNext->setEnabled(issuesVisible > 1);
|
|
|
|
|
|
|
|
|
|
QString message = m_running ? tr("Clang Static Analyzer running.")
|
|
|
|
|
: tr("Clang Static Analyzer finished.");
|
|
|
|
|
message += QLatin1Char(' ');
|
|
|
|
|
if (issuesFound == 0) {
|
|
|
|
|
message += tr("No issues found.");
|
|
|
|
|
} else {
|
|
|
|
|
message += tr("%n issues found (%1 suppressed).", 0, issuesFound)
|
|
|
|
|
.arg(issuesFound - issuesVisible);
|
|
|
|
|
}
|
2015-07-01 12:33:03 +02:00
|
|
|
AnalyzerManager::showPermanentStatusMessage(ClangStaticAnalyzerToolId, message);
|
2015-03-02 15:35:10 +01:00
|
|
|
}
|
|
|
|
|
|
2014-09-25 11:11:58 +02:00
|
|
|
} // namespace Internal
|
|
|
|
|
} // namespace ClangStaticAnalyzer
|
2015-03-03 15:09:27 +01:00
|
|
|
|
|
|
|
|
#include "clangstaticanalyzertool.moc"
|