forked from qt-creator/qt-creator
Clang: Report only diagnostics that can be shown in the editor
Change-Id: I9c258159d240c6ba7eeff34702d8512d9220b3af Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
This commit is contained in:
@@ -38,6 +38,8 @@
|
||||
|
||||
#include <QVector>
|
||||
|
||||
#include <functional>
|
||||
|
||||
namespace ClangBackEnd {
|
||||
|
||||
class DiagnosticSetIterator;
|
||||
@@ -71,6 +73,8 @@ public:
|
||||
ConstIterator end() const;
|
||||
|
||||
QVector<DiagnosticContainer> toDiagnosticContainers() const;
|
||||
QVector<DiagnosticContainer> toDiagnosticContainers(
|
||||
const Diagnostic::IsAcceptedDiagnostic &isAcceptedDiagnostic) const;
|
||||
|
||||
private:
|
||||
DiagnosticSet(CXDiagnosticSet cxDiagnosticSet);
|
||||
|
||||
Reference in New Issue
Block a user