exclude injected headers from headersclean check
it makes no sense to check them, as they contain only #defines anyway. Change-Id: I8b36139ee19471de0654c5eb3af262d0389a72f7 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
This commit is contained in:
parent
aec9cebf8c
commit
9a1163c7ae
@ -217,8 +217,6 @@ sub classNames {
|
||||
$$requires = "";
|
||||
|
||||
my $ihdrbase = basename($iheader);
|
||||
my $classname = $classnames{$ihdrbase};
|
||||
push @ret, split(/,/, $classname) if ($classname);
|
||||
|
||||
my $parsable = "";
|
||||
if(open(F, "<$iheader")) {
|
||||
@ -1042,7 +1040,11 @@ foreach my $lib (@modules_to_sync) {
|
||||
&& $header =~ /_p\.h$/ && $subdir !~ /3rdparty/;
|
||||
check_header($lib, $header, $iheader, $public_header, $private_header);
|
||||
}
|
||||
my @classes = $public_header && (!$minimal && $is_qt) ? classNames($iheader, \$clean_header, \$requires) : ();
|
||||
my @classes = ();
|
||||
push @classes, classNames($iheader, \$clean_header, \$requires)
|
||||
if (!$shadow && $public_header && !$minimal && $is_qt);
|
||||
my $classname = $classnames{$header};
|
||||
push @classes, split(/,/, $classname) if ($classname);
|
||||
if($showonly) {
|
||||
print "$header [$lib]\n";
|
||||
foreach(@classes) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user