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:
Christian Kandeler
2015-06-19 15:37:16 +02:00
parent 501aad8d2c
commit d9affc16c4
14 changed files with 233 additions and 378 deletions

View File

@@ -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)
{