aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/ApiExtractor/clangparser/clangparser.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2020-11-25 08:03:23 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2020-11-25 11:43:14 +0000
commitfcc2431ab132519a0038b6702372d8460d7cd635 (patch)
tree25933ed2fd3a8e5a850e2877b26755d613eaf4c7 /sources/shiboken6/ApiExtractor/clangparser/clangparser.cpp
parent30620db0941a36298b194d7bfbf5213ba4eb8bba (diff)
Replace QVector by QList
Change AbstractMetaClass::templateArguments() to return TypeEntries (const TypeEntry *) instead non-const. Remove redundant typedef OverloadData::MetaFunctionList. Use existing typedefs in some places. Add new typedefs for MetaObjectBuilder::EnumValues and AbstractMetaFunctionCList. Change-Id: Ia241b5fbe54d60ea57175fb1f6c844604e066a3d Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/shiboken6/ApiExtractor/clangparser/clangparser.cpp')
-rw-r--r--sources/shiboken6/ApiExtractor/clangparser/clangparser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken6/ApiExtractor/clangparser/clangparser.cpp b/sources/shiboken6/ApiExtractor/clangparser/clangparser.cpp
index 3646462e8..48c4f498b 100644
--- a/sources/shiboken6/ApiExtractor/clangparser/clangparser.cpp
+++ b/sources/shiboken6/ApiExtractor/clangparser/clangparser.cpp
@@ -282,7 +282,7 @@ bool parse(const QByteArrayList &clangArgs, unsigned clangFlags, BaseVisitor &b
clang_visitChildren(rootCursor, visitorCallback, reinterpret_cast<CXClientData>(&bv));
- QVector<Diagnostic> diagnostics = getDiagnostics(translationUnit);
+ QList<Diagnostic> diagnostics = getDiagnostics(translationUnit);
diagnostics.append(bv.diagnostics());
bv.setDiagnostics(diagnostics);