Skip to content

Commit

Permalink
clang-tidy: add checks
Browse files Browse the repository at this point in the history
Adding these checks per discussion on cxx@:
https://groups.google.com/a/chromium.org/forum/#!topic/cxx/iZ6-Y9ZhC3Q

This also sorts the checks listed in this file.

Bug: 1016926
Change-Id: Ied0f77cf9a23bf0270e29c08e30ebeca1c2d39f6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1997422
Commit-Queue: George Burgess <gbiv@chromium.org>
Commit-Queue: Peter Kasting <pkasting@chromium.org>
Reviewed-by: Peter Kasting <pkasting@chromium.org>
Cr-Commit-Position: refs/heads/master@{#731044}
  • Loading branch information
George Burgess IV authored and Commit Bot committed Jan 14, 2020
1 parent b355af2 commit 0cea06c
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .clang-tidy
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
---
---
Checks: '-*,
google-build-explicit-make-pair,
google-explicit-constructor,
google-readability-casting,
modernize-loop-convert,
modernize-make-shared,
modernize-redundant-void-arg,
modernize-replace-random-shuffle,
modernize-shrink-to-fit,
Expand All @@ -9,7 +14,7 @@
modernize-use-equals-delete,
modernize-use-nullptr,
modernize-use-override,
google-build-explicit-make-pair,
google-readability-casting'
modernize-use-transparent-functors,
readability-redundant-member-init'
...

0 comments on commit 0cea06c

Please sign in to comment.