From e546b2af8587cabd25c744a8fb3d5aca8f0259a1 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Wed, 24 Jan 2018 18:30:21 -0500 Subject: [PATCH] Add cryptest-tidy.sh script --- TestScripts/cryptest-tidy.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 TestScripts/cryptest-tidy.sh diff --git a/TestScripts/cryptest-tidy.sh b/TestScripts/cryptest-tidy.sh new file mode 100755 index 00000000..537b3785 --- /dev/null +++ b/TestScripts/cryptest-tidy.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash + +for file in $(find . -maxdepth 1 -type f -name '*.cpp'); do + echo "Tidying $file" + clang-tidy $file -checks=-clang-analyzer-optin.cplusplus.VirtualCall -- -std=c++03 +done