Merge "[clang-tidy] Add bugprone-inaccurate-erase check." am: 4aa073337d
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1365228 Change-Id: I61dcc6936c14f73145d41f8f5d3a31100214c992
This commit is contained in:
commit
27cb133608
1 changed files with 9 additions and 0 deletions
|
@ -12,6 +12,11 @@
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
tidy_errors = [
|
||||
"-*",
|
||||
"bugprone-inaccurate-erase",
|
||||
]
|
||||
|
||||
cc_defaults {
|
||||
name: "adb_defaults",
|
||||
|
||||
|
@ -73,6 +78,10 @@ cc_defaults {
|
|||
],
|
||||
},
|
||||
},
|
||||
|
||||
tidy: true,
|
||||
tidy_checks: tidy_errors,
|
||||
tidy_checks_as_errors: tidy_errors,
|
||||
}
|
||||
|
||||
cc_defaults {
|
||||
|
|
Loading…
Reference in a new issue