forked from qt-creator/qt-creator
Via clang-cl, which supports the --analyze option now. Change-Id: Idbefe048eaa80e8c5bdb2244cb30c26ba7c71ef5 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
44 lines
1.3 KiB
C++
44 lines
1.3 KiB
C++
/****************************************************************************
|
|
**
|
|
** Copyright (C) 2014 Digia Plc
|
|
** All rights reserved.
|
|
** For any questions to Digia, please use contact form at http://qt.digia.com <http://qt.digia.com/>
|
|
**
|
|
** This file is part of the Qt Enterprise Qt LicenseChecker Add-on.
|
|
**
|
|
** Licensees holding valid Qt Enterprise licenses may use this file in
|
|
** accordance with the Qt Enterprise License Agreement provided with the
|
|
** Software or, alternatively, in accordance with the terms contained in
|
|
** a written agreement between you and Digia.
|
|
**
|
|
** If you have questions regarding the use of this file, please use
|
|
** contact form at http://qt.digia.com <http://qt.digia.com/>
|
|
**
|
|
****************************************************************************/
|
|
|
|
#ifndef CLANGSTATICANALYZERUTILS_H
|
|
#define CLANGSTATICANALYZERUTILS_H
|
|
|
|
#include <QtGlobal>
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
class QString;
|
|
QT_END_NAMESPACE
|
|
|
|
|
|
|
|
namespace ClangStaticAnalyzer {
|
|
namespace Internal {
|
|
|
|
class Location;
|
|
|
|
QString clangExecutable(const QString &fileNameOrPath, bool *isValid);
|
|
QString clangExecutableFromSettings(const QString &toolchainType, bool *isValid);
|
|
|
|
QString createFullLocationString(const ClangStaticAnalyzer::Internal::Location &location);
|
|
|
|
} // namespace Internal
|
|
} // namespace ClangStaticAnalyzer
|
|
|
|
#endif // CLANGSTATICANALYZERUTILS_H
|