493ae7a6bb
.. and a few cases of instead doing blacklist->excludelist where that made more sense. Background and motivation: https://tools.ietf.org/html/draft-knodel-terminology-02 [API CHANGE] officecfg::Office::Canvas::DeviceBlacklist -> DeviceDenylist [API CHANGE] officecfg::Office::Canvas::BlacklistCurrentDevice -> DenylistCurrentDevice [API CHANGE] officecfg::Office::Common::Misc::OpenCLBlackList -> OpenCLDenyList Change-Id: Ia35e25496bf0cc0692d5de4cb66bfc232d3a869e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98180 Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
31 lines
801 B
Perl
Executable file
31 lines
801 B
Perl
Executable file
#!/usr/bin/env perl
|
|
# This file is part of the LibreOffice project.
|
|
#
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
# Generates an excludelist containing all existing cxx/hxx files.
|
|
|
|
use strict;
|
|
use warnings;
|
|
use lib "solenv/clang-format";
|
|
use ClangFormat;
|
|
|
|
my $src = ClangFormat::get_extension_regex();
|
|
my @filenames = ();
|
|
|
|
# Get a list of files.
|
|
open (FILES, "git ls-files |") || die "Cannot run git ls-files.";
|
|
while (my $filename = <FILES>)
|
|
{
|
|
chomp $filename;
|
|
if ($filename =~ /\.($src)$/)
|
|
{
|
|
push @filenames, $filename;
|
|
}
|
|
}
|
|
|
|
ClangFormat::set_excludelist(\@filenames);
|
|
|
|
# vim: set shiftwidth=4 softtabstop=4 expandtab:
|