George Burgess IV | 1fdfdeba7 | 2019-10-24 18:53:29 | [diff] [blame] | 1 | --- |
George Burgess IV | f828a224 | 2022-04-19 19:30:15 | [diff] [blame] | 2 | # TODO(crbug.com/1282228): reenable google-readability-casting once it no |
| 3 | # longer has as many false-positives. |
George Burgess IV | 1fdfdeba7 | 2019-10-24 18:53:29 | [diff] [blame] | 4 | Checks: '-*, |
Tal Pressman | 89a0e82 | 2020-12-01 09:01:39 | [diff] [blame] | 5 | bugprone-argument-comment, |
George Burgess IV | 9f7338f | 2022-03-17 19:28:57 | [diff] [blame] | 6 | bugprone-assert-side-effect, |
Jan Wilken Dörrie | 9414992 | 2020-12-15 18:44:55 | [diff] [blame] | 7 | bugprone-dangling-handle, |
| 8 | bugprone-inaccurate-erase, |
| 9 | bugprone-string-constructor, |
George Burgess IV | 37c32865 | 2020-10-01 19:40:18 | [diff] [blame] | 10 | bugprone-string-integer-assignment, |
| 11 | bugprone-unused-raii, |
Maksim Ivanov | d8f65ed | 2020-08-29 03:28:21 | [diff] [blame] | 12 | bugprone-use-after-move, |
George Burgess IV | 0cea06c | 2020-01-14 03:31:04 | [diff] [blame] | 13 | google-build-explicit-make-pair, |
| 14 | google-explicit-constructor, |
George Burgess IV | d4c5e82a | 2020-05-19 19:24:00 | [diff] [blame] | 15 | modernize-avoid-bind, |
Avi Drissman | efca412 | 2022-01-05 23:59:36 | [diff] [blame] | 16 | modernize-concat-nested-namespaces, |
George Burgess IV | 0cea06c | 2020-01-14 03:31:04 | [diff] [blame] | 17 | modernize-loop-convert, |
| 18 | modernize-make-shared, |
George Burgess IV | d4c5e82a | 2020-05-19 19:24:00 | [diff] [blame] | 19 | modernize-make-unique, |
George Burgess IV | 1fdfdeba7 | 2019-10-24 18:53:29 | [diff] [blame] | 20 | modernize-redundant-void-arg, |
| 21 | modernize-replace-random-shuffle, |
| 22 | modernize-shrink-to-fit, |
| 23 | modernize-use-bool-literals, |
George Burgess IV | d4c5e82a | 2020-05-19 19:24:00 | [diff] [blame] | 24 | modernize-use-default-member-init, |
| 25 | modernize-use-emplace, |
George Burgess IV | 1fdfdeba7 | 2019-10-24 18:53:29 | [diff] [blame] | 26 | modernize-use-equals-default, |
| 27 | modernize-use-equals-delete, |
George Burgess IV | d4c5e82a | 2020-05-19 19:24:00 | [diff] [blame] | 28 | modernize-use-noexcept, |
George Burgess IV | 1fdfdeba7 | 2019-10-24 18:53:29 | [diff] [blame] | 29 | modernize-use-nullptr, |
| 30 | modernize-use-override, |
George Burgess IV | 0cea06c | 2020-01-14 03:31:04 | [diff] [blame] | 31 | modernize-use-transparent-functors, |
| 32 | readability-redundant-member-init' |
George Burgess IV | d4c5e82a | 2020-05-19 19:24:00 | [diff] [blame] | 33 | CheckOptions: |
George Burgess IV | 9f7338f | 2022-03-17 19:28:57 | [diff] [blame] | 34 | - key: bugprone-assert-side-effect.AssertMacros |
| 35 | value: assert,DCHECK |
Jan Wilken Dörrie | 9414992 | 2020-12-15 18:44:55 | [diff] [blame] | 36 | - key: bugprone-dangling-handle.HandleClasses |
Peter Boström | 25a5358 | 2021-08-31 04:28:35 | [diff] [blame] | 37 | value: ::std::basic_string_view;::std::span;::absl::string_view;::base::BasicStringPiece;::base::span |
Jan Wilken Dörrie | 9414992 | 2020-12-15 18:44:55 | [diff] [blame] | 38 | - key: bugprone-string-constructor.StringNames |
George Burgess IV | 4f18f3f | 2022-07-05 14:24:57 | [diff] [blame^] | 39 | value: ::std::basic_string;::std::basic_string_view;::base::BasicStringPiece;::absl::string_view |
Peter Kasting | 0dc3348 | 2020-10-19 01:48:29 | [diff] [blame] | 40 | - key: modernize-use-default-member-init.UseAssignment |
| 41 | value: 1 |
George Burgess IV | d4c5e82a | 2020-05-19 19:24:00 | [diff] [blame] | 42 | # This relaxes modernize-use-emplace in some cases; we might want to make it |
| 43 | # more aggressive in the future. See discussion on |
| 44 | # https://groups.google.com/a/chromium.org/g/cxx/c/noMMTNYiM0w . |
| 45 | - key: modernize-use-emplace.IgnoreImplicitConstructors |
| 46 | value: 1 |
George Burgess IV | 1fdfdeba7 | 2019-10-24 18:53:29 | [diff] [blame] | 47 | ... |