summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2016-08-15 11:31:22 +0200
committerOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2016-08-18 17:11:02 +0000
commita5bb91c2b81388e7c84548a7aed44257f5662776 (patch)
tree939fda9c3da285c32a8e2a0dd8ae057c2abfd952 /bin
parent6903cad03edc7db2ed808f5a90f0e02bfca5fe7d (diff)
make it possible to exclude private headers from syncqt include check
the limitation to public headers seemed pretty arbitrary. Change-Id: I0f2290fe09c8a6a70d056ec250b902be7049790e Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/syncqt.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/syncqt.pl b/bin/syncqt.pl
index 0c10ccbe14..633068287e 100755
--- a/bin/syncqt.pl
+++ b/bin/syncqt.pl
@@ -333,8 +333,8 @@ sub check_header {
my ($lib, $header, $iheader, $public_header, $private_header) = @_;
my $header_skip_qt_begin_namespace_test = 0;
+ return if ($ignore_for_include_check{$header});
if ($public_header) {
- return if ($ignore_for_include_check{$header});
$header_skip_qt_begin_namespace_test = 1 if ($ignore_for_qt_begin_namespace_check{$header});
}