summaryrefslogtreecommitdiffstats
path: root/tools/clang-tidy/test/bugprone-string-constructor.json
blob: 7e2ba1764f784be3f03f9da0eb8ced9291fcde02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[
  [
    "warning",
    "string constructor parameters are probably swapped; expecting string(count, character)",
    "bugprone-string-constructor"
  ],
  [
    "warning",
    "length is bigger than string literal size",
    "bugprone-string-constructor"
  ],
  [
    "warning",
    "constructor creating an empty string",
    "bugprone-string-constructor"
  ],
  { "reliability": "high" }
]