File indexing completed on 2024-05-12 15:55:27

0001 #!/bin/bash
0002 # SPDX-FileCopyrightText: none
0003 # SPDX-License-Identifier: CC0-1.0
0004 # Apply clang-format in-place to all source files
0005 # Note: AndroidRemoteControl is excluded for now because clang-format would butcher the symlinks.
0006 
0007 clang-format -style=file -i \
0008         AnnotationDialog/*.{cpp,h} \
0009         BackgroundJobs/*.{cpp,h} \
0010         BackgroundTaskManager/*.{cpp,h} \
0011         Browser/*.{cpp,h} \
0012         CategoryListView/*.{cpp,h} \
0013         DateBar/*.{cpp,h} \
0014         DB/*.{cpp,h} \
0015         Exif/*.{cpp,h} \
0016         HTMLGenerator/*.{cpp,h} \
0017         ImageManager/*.{cpp,h} \
0018         ImportExport/*.{cpp,h} \
0019         MainWindow/*.{cpp,h} \
0020         MainWindow/DuplicateMerger/*.{cpp,h} \
0021         Map/*.{cpp,h} \
0022         Plugins/*.{cpp,h} \
0023         RemoteControl/*.{cpp,h} \
0024         Settings/*.{cpp,h} \
0025         ThumbnailView/*.{cpp,h} \
0026         Utilities/*.{cpp,h} \
0027         Viewer/*.{cpp,h} \
0028         XMLDB/*.{cpp,h} \
0029         main.cpp