summaryrefslogtreecommitdiffstats
path: root/tools/clang-tidy/test/bugprone-suspicious-memset-usage.json
blob: 73f26cf7c1f57678fb1bb034585e823ebcc91ed8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[
  [
    "warning",
    "memset fill value is char '0', potentially mistaken for int 0",
    "bugprone-suspicious-memset-usage"
  ],
  [
    "warning",
    "memset fill value is out of unsigned character range, gets truncated",
    "bugprone-suspicious-memset-usage"
  ],
  [
    "warning",
    "memset of size zero, potentially swapped arguments",
    "bugprone-suspicious-memset-usage"
  ],
  { "reliability": "high" }
]