aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/ApiExtractor/clangparser/clangutils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken6/ApiExtractor/clangparser/clangutils.cpp')
-rw-r--r--sources/shiboken6/ApiExtractor/clangparser/clangutils.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/sources/shiboken6/ApiExtractor/clangparser/clangutils.cpp b/sources/shiboken6/ApiExtractor/clangparser/clangutils.cpp
index f3d45faa7..5b108b2e7 100644
--- a/sources/shiboken6/ApiExtractor/clangparser/clangutils.cpp
+++ b/sources/shiboken6/ApiExtractor/clangparser/clangutils.cpp
@@ -169,9 +169,9 @@ Diagnostic Diagnostic::fromCXDiagnostic(CXDiagnostic cd)
return result;
}
-QVector<Diagnostic> getDiagnostics(CXTranslationUnit tu)
+QList<Diagnostic> getDiagnostics(CXTranslationUnit tu)
{
- QVector<Diagnostic> result;
+ QList<Diagnostic> result;
const unsigned count = clang_getNumDiagnostics(tu);
result.reserve(int(count));
for (unsigned i = 0; i < count; ++i) {
@@ -219,7 +219,7 @@ QPair<int, int> parseTemplateArgumentList(const QString &l,
return qMakePair(-1, -1);
}
-CXDiagnosticSeverity maxSeverity(const QVector<Diagnostic> &ds)
+CXDiagnosticSeverity maxSeverity(const QList<Diagnostic> &ds)
{
CXDiagnosticSeverity result = CXDiagnostic_Ignored;
for (const Diagnostic& d : ds) {