[clang-tools-extra] [clang-tidy] add new check: modernize-use-scoped-lock (PR #126434)

Congcong Cai via cfe-commits cfe-commits at lists.llvm.org
Sun Mar 16 23:42:14 PDT 2025


https://github.com/HerrCai0907 approved this pull request.

LGTM with nits
1. follow LLVM coding guideline to remove `{}` for only one lines if / for / ...
2. personal I prefer to use different function name instead of `emitDiag` for everythings.

https://github.com/llvm/llvm-project/pull/126434


More information about the cfe-commits mailing list