forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates for things I ran into while running clang-tidy locally.
* Make ui/views/.clang-tidy additive to the base file, not a replacement. * Hoist the "use equals" config option to the base file, since that's Chromium style. * Update docs for errors or inclarities. Bug: none Change-Id: I7f22db99d9ff11fc91665776887a02f7184427ae Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2483344 Auto-Submit: Peter Kasting <pkasting@chromium.org> Commit-Queue: George Burgess <gbiv@chromium.org> Reviewed-by: George Burgess <gbiv@chromium.org> Cr-Commit-Position: refs/heads/master@{#818330}
- Loading branch information
Showing
3 changed files
with
15 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,7 @@ | ||
--- | ||
Checks: '-*, | ||
google-build-namespaces, | ||
google-explicit-constructor, | ||
google-readability-casting, | ||
google-readability-namespace-comments, | ||
modernize-avoid-bind, | ||
modernize-loop-convert, | ||
modernize-make-shared, | ||
modernize-make-unique, | ||
modernize-redundant-void-arg, | ||
modernize-replace-auto-ptr, | ||
modernize-replace-random-shuffle, | ||
modernize-shrink-to-fit, | ||
modernize-use-bool-literals, | ||
modernize-use-default-member-init, | ||
modernize-use-emplace, | ||
modernize-use-equals-default, | ||
modernize-use-noexcept, | ||
modernize-use-nullptr, | ||
modernize-use-override, | ||
modernize-use-transparent-functors, | ||
modernize-use-using, | ||
readability-redundant-member-init' | ||
HeaderFilterRegex: 'ui/views/*' | ||
CheckOptions: | ||
- key: modernize-use-default-member-init.UseAssignment | ||
value: 1 | ||
Checks: 'google-build-namespaces, | ||
google-readability-namespace-comments, | ||
modernize-replace-auto-ptr, | ||
modernize-use-using' | ||
HeaderFilterRegex: 'ui/views/*' | ||
... |