aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/ApiExtractor/clangparser/clangparser.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2022-02-11 14:41:53 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2022-02-11 15:18:24 +0100
commite330f659c47de880493f9bfd4ba2a000196d00bc (patch)
treed4e6d7064bdaa9cf6594306c6dadbe88c91ce7f9 /sources/shiboken6/ApiExtractor/clangparser/clangparser.cpp
parent9827a47135d8e0ac7262c6c13188e387bf034b3b (diff)
shiboken6: Move Vulkan detection out of the emulated compiler options
Task-number: PYSIDE-1812 Change-Id: I304d0c437cda114a865828578dca320c0d2fe45f Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'sources/shiboken6/ApiExtractor/clangparser/clangparser.cpp')
-rw-r--r--sources/shiboken6/ApiExtractor/clangparser/clangparser.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/sources/shiboken6/ApiExtractor/clangparser/clangparser.cpp b/sources/shiboken6/ApiExtractor/clangparser/clangparser.cpp
index 8100cab77..9282fc28b 100644
--- a/sources/shiboken6/ApiExtractor/clangparser/clangparser.cpp
+++ b/sources/shiboken6/ApiExtractor/clangparser/clangparser.cpp
@@ -281,6 +281,7 @@ static CXTranslationUnit createTranslationUnit(CXIndex index,
clangArgs += emulatedCompilerOptions();
clangArgs += defaultArgs;
}
+ clangArgs += detectVulkan();
clangArgs += args;
QScopedArrayPointer<const char *> argv(byteArrayListToFlatArgV(clangArgs));
qDebug().noquote().nospace() << msgCreateTranslationUnit(clangArgs, flags);