aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Herrmann <adrian.herrmann@qt.io>2022-10-07 11:32:58 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-10-07 11:47:21 +0000
commit04e4ac4ca457c2eeffda997738fe1406502f6c06 (patch)
tree6c90c55e6bf8de2881672cc1d63e0b6b5118a609
parente81f61f8515f065a9d76302d60fa974ce617e9cd (diff)
shiboken6/macOS: Remove dupl. check in condition
Amends 92943cbb530edb4fd8b7292b3b0ea964d7a6fdde. Change-Id: I33b1ad04da02a30802c8468b24f008a6505684f1 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> (cherry picked from commit 8e86e4812702e8dd57cac59bfc9068c92e4e25d5) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--sources/shiboken6/ApiExtractor/clangparser/clangbuilder.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/sources/shiboken6/ApiExtractor/clangparser/clangbuilder.cpp b/sources/shiboken6/ApiExtractor/clangparser/clangbuilder.cpp
index 7a88e45d9..9cc9f28a9 100644
--- a/sources/shiboken6/ApiExtractor/clangparser/clangbuilder.cpp
+++ b/sources/shiboken6/ApiExtractor/clangparser/clangbuilder.cpp
@@ -852,7 +852,6 @@ bool BuilderPrivate::visitHeader(const QString &fileName) const
// They are installed under /Applications/Xcode.app/Contents/Developer/Platforms...
if (baseName == u"gltypes.h"
|| fileName.contains(u"/usr/include/_types")
- || fileName.contains(u"/usr/include/_types")
|| fileName.contains(u"/usr/include/sys/_types")) {
return true;
}