Skip to content

Commit 035d8b3

Browse files
benetyEvergreen Agent
authored andcommitted
SERVER-49800 add use-after-move to clang-tidy rules
1 parent 21a87d7 commit 035d8b3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

etc/evergreen.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3553,7 +3553,11 @@ tasks:
35533553
set -o errexit
35543554
set -o verbose
35553555
# This could probably be accelerated with gnu parallel
3556-
/opt/mongodbtoolchain/v3/bin/clang-tidy -p ./compile_commands.json --checks="-*,bugprone-unused-raii" -warnings-as-errors="*" $(jq -r '.[] | .file' compile_commands.json | grep src/mongo)
3556+
/opt/mongodbtoolchain/v3/bin/clang-tidy \
3557+
-p ./compile_commands.json \
3558+
--checks="-*,bugprone-unused-raii,bugprone-use-after-move" \
3559+
-warnings-as-errors="*" \
3560+
$(jq -r '.[] | .file' compile_commands.json | grep src/mongo)
35573561
35583562
## unittests - run unittests ##
35593563
- name: unittests

0 commit comments

Comments
 (0)