Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[clang-tidy] Enable several bugprone checks
This change enables the following bugprone clang-tidy checks: * bugprone-dangling-handle * bugprone-inaccurate-erase * bugprone-string-constructor bugprone-dangling-handle and bugprone-string-constructor are customized to cover handles and strings defined in //base as well. This change was previously announced on cxx@chromium.org: https://groups.google.com/a/chromium.org/g/cxx/c/hDDUlz1OMUw Bug: None Change-Id: I7a2308808eb8cf5d27a0798f50afd6c36c6dca5b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2584937 Auto-Submit: Jan Wilken Dörrie <jdoerrie@chromium.org> Reviewed-by: danakj <danakj@chromium.org> Commit-Queue: Jan Wilken Dörrie <jdoerrie@chromium.org> Cr-Commit-Position: refs/heads/master@{#837177}
- Loading branch information