[clang-tidy] Fix example provided by add_new_check.py
authorPiotr Zegar <me@piotrzegar.pl>
Thu, 30 Mar 2023 18:14:42 +0000 (18:14 +0000)
committerPiotr Zegar <me@piotrzegar.pl>
Thu, 30 Mar 2023 18:15:29 +0000 (18:15 +0000)
commit3b919a5e01ef35caa24fe3a4ccc3dd459e56449b
treeea4e87b6a1b2d67329c88a94a6ca4da455b09740
parent7a98934fadc3581ff024a77dc696b62f1a538ad5
[clang-tidy] Fix example provided by add_new_check.py

Currently test for newly added check in clang-tidy fails,
this is because Fix is attached to note, but test is executed
without --fix-notes. This change adding --fix-notes to test.

Fixes: https://github.com/llvm/llvm-project/issues/50400

Reviewed By: carlosgalvezp

Differential Revision: https://reviews.llvm.org/D146875
clang-tools-extra/clang-tidy/add_new_check.py