X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=tools%2Fformat-cpp.sh;h=04444ddcd679bb49e8d3b0b341b96e78fee3fbbe;hb=c022776a5704be758b90a56563d491861d29fa49;hp=364dafe17afc46304ae0c22c4057ce75a6261b90;hpb=80ab6559c42fadfbac0f131ba62a5984ffc945a0;p=babeltrace.git diff --git a/tools/format-cpp.sh b/tools/format-cpp.sh index 364dafe1..04444ddc 100755 --- a/tools/format-cpp.sh +++ b/tools/format-cpp.sh @@ -44,7 +44,7 @@ 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/vendor/*' \ ! -path '*/src/cpp-common/string_view.hpp' \ ! -path '*/src/cpp-common/nlohmann/json.hpp' \ ! -path '*/src/plugins/ctf/common/metadata/parser.*' \