forked from qt-creator/qt-creator
Adapt to new diagnostics presentation API in AnalyzerBase.
Task-number: QCE-34 Change-Id: Ia86fa082b3798ba42ec209b0e417e8a8ca0f8fa7 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
This commit is contained in:
@@ -21,21 +21,6 @@
|
||||
namespace ClangStaticAnalyzer {
|
||||
namespace Internal {
|
||||
|
||||
Location::Location()
|
||||
: line(0), column(0)
|
||||
{
|
||||
}
|
||||
|
||||
Location::Location(const QString &filePath, int line, int column)
|
||||
: filePath(filePath), line(line), column(column)
|
||||
{
|
||||
}
|
||||
|
||||
bool Location::isValid() const
|
||||
{
|
||||
return !filePath.isEmpty() && line >= 0 && column >= 0;
|
||||
}
|
||||
|
||||
ExplainingStep::ExplainingStep()
|
||||
: depth(0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user