Skip to content

Commit

Permalink
Use the .clang-tidy file
Browse files Browse the repository at this point in the history
  • Loading branch information
EpsilonPrime committed Jul 26, 2024
1 parent 2090c60 commit 9561d1e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ Checks: >
-bugprone-implicit-widening-of-multiplication-result,
-bugprone-unchecked-optional-access
WarningsAsErrors: '*'
ExtraArgs: ['-Wno-assertions']
HeaderFilterRegex: 'io/substrait/*.\\.h$'
AnalyzeTemporaryDtors: false
FormatStyle: none
Expand Down
2 changes: 1 addition & 1 deletion scripts/run-clang-tidy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ SCRIPTDIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
WORKDIR="$( cd $SCRIPTDIR/.. && pwd )"

# Make compile_command.json
rm -rf tmp && mkdir tmp && cmake -Btmp -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DSUBSTRAIT_CPP_ROUNDTRIP_TESTING=ON -Wno-attributes
rm -rf tmp && mkdir tmp && cmake -Btmp -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DSUBSTRAIT_CPP_ROUNDTRIP_TESTING=ON
# Build substrait protobuf
pushd tmp/src/substrait/proto && make -j && popd || exit
# Build textplan grammar
Expand Down

0 comments on commit 9561d1e

Please sign in to comment.