aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/tests/dumpcodemodel
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2021-01-19 11:42:55 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2021-01-20 17:36:16 +0100
commit35954c4b7465281524c6dbe38bd67fc3564c0f54 (patch)
tree38af49c35bede9c2a02eaceba260830822ea715c /sources/shiboken6/tests/dumpcodemodel
parent9d0595f5d5eb7a566bee3f1bd9df41371929dce4 (diff)
shiboken6: Enable setting clang options
Add command line options --clang-option, --clang-options to be able to pass options. Allow for a complete replacement of the built-in compiler support options by specifying '-' as the first option. Task-number: PYSIDE-1477 Change-Id: Ibcb107e5d0c4dedb56ab07e83af4203f0f682850 Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/shiboken6/tests/dumpcodemodel')
-rw-r--r--sources/shiboken6/tests/dumpcodemodel/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken6/tests/dumpcodemodel/main.cpp b/sources/shiboken6/tests/dumpcodemodel/main.cpp
index 872692651..a8b2ed2e5 100644
--- a/sources/shiboken6/tests/dumpcodemodel/main.cpp
+++ b/sources/shiboken6/tests/dumpcodemodel/main.cpp
@@ -266,7 +266,7 @@ int main(int argc, char **argv)
optJoinNamespaces = parser.isSet(joinNamespacesOption);
- const FileModelItem dom = AbstractMetaBuilderPrivate::buildDom(arguments, level, 0);
+ const FileModelItem dom = AbstractMetaBuilderPrivate::buildDom(arguments, true, level, 0);
if (dom.isNull()) {
QString message = QLatin1String("Unable to parse ") + positionalArguments.join(QLatin1Char(' '));
std::cerr << qPrintable(message) << '\n';