From 04e4ac4ca457c2eeffda997738fe1406502f6c06 Mon Sep 17 00:00:00 2001 From: Adrian Herrmann Date: Fri, 7 Oct 2022 11:32:58 +0200 Subject: shiboken6/macOS: Remove dupl. check in condition Amends 92943cbb530edb4fd8b7292b3b0ea964d7a6fdde. Change-Id: I33b1ad04da02a30802c8468b24f008a6505684f1 Reviewed-by: Friedemann Kleint (cherry picked from commit 8e86e4812702e8dd57cac59bfc9068c92e4e25d5) Reviewed-by: Qt Cherry-pick Bot --- sources/shiboken6/ApiExtractor/clangparser/clangbuilder.cpp | 1 - 1 file changed, 1 deletion(-) 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 @@ -851,7 +851,6 @@ bool BuilderPrivate::visitHeader(const QString &fileName) const // int32_t, which are used in the macOS implementation of OpenGL framework. // 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; -- cgit v1.2.3