2 # This file is part of the LibreOffice project.
4 # This Source Code Form is subject to the terms of the Mozilla Public
5 # License, v. 2.0. If a copy of the MPL was not distributed with this
6 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 # Generates an excludelist containing all existing cxx/hxx files.
12 use lib
"solenv/clang-format";
15 my $src = ClangFormat
::get_extension_regex
();
18 # Get a list of files.
19 open (FILES
, "git ls-files |") || die "Cannot run git ls-files.";
20 while (my $filename = <FILES
>)
23 if ($filename =~ /\.($src)$/)
25 push @filenames, $filename;
29 ClangFormat
::set_excludelist
(\
@filenames);
31 # vim: set shiftwidth=4 softtabstop=4 expandtab: