clock-correlation-validator: add clock correlation validation util
[babeltrace.git] / tools / format-cpp.sh
index 364dafe17afc46304ae0c22c4057ce75a6261b90..c0a9583a163cce8c513379938485a5e542407dc8 100755 (executable)
@@ -44,9 +44,8 @@ format_cpp() {
        # We want an absolute starting directory because find(1) excludes
        # files in specific subdirectories.
        find "$(realpath "$root_dir")" \( -name '*.cpp' -o -name '*.hpp' \) \
-               ! -path '*/src/cpp-common/optional.hpp' \
-               ! -path '*/src/cpp-common/string_view.hpp' \
-               ! -path '*/src/cpp-common/nlohmann/json.hpp' \
+               ! -path '*/.git/*' \
+               ! -path '*/src/cpp-common/vendor/*' \
                ! -path '*/src/plugins/ctf/common/metadata/parser.*' \
                ! -path '*/src/plugins/ctf/common/metadata/lexer.*' \
                -print0 | xargs -P"$(nproc)" -n1 -t -0 "${formatter[@]}"
This page took 0.026844 seconds and 4 git commands to generate.