-
Notifications
You must be signed in to change notification settings - Fork 6
/
tidy_scan.sh
26 lines (25 loc) · 846 Bytes
/
tidy_scan.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/env bash
clang-tidy src/framework/*.cpp include/framework/*.hpp -checks=*,\
-hicpp-use-auto,\
-modernize-use-auto,\
-google-default-arguments,\
-modernize-redundant-void-arg,\
-llvm-include-order,\
-readability-simplify-boolean-expr,\
-fuchsia-overloaded-operator,\
-fuchsia-default-arguments,\
-google-readability-namespace-comments,\
-llvm-namespace-comment,\
-hicpp-no-array-decay,\
-llvm-header-guard,\
-hicpp-signed-bitwise,\
-cppcoreguidelines-pro-type-reinterpret-cast,\
-cppcoreguidelines-pro-type-const-cast,\
-clang-diagnostic-deprecated-declarations,\
-cppcoreguidelines-pro-bounds-pointer-arithmetic,\
-cppcoreguidelines-pro-bounds-constant-array-index,\
-cppcoreguidelines-pro-bounds-array-to-pointer-decay,\
-cppcoreguidelines-pro-type-vararg,\
-google-runtime-references,\
-misc-misplaced-widening-cast\
-- -std=c++17