Skip to content

Commit

Permalink
put more tidy check in profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
gamesh411 committed Nov 25, 2024
1 parent 09fb4bd commit 7c0ba25
Showing 1 changed file with 23 additions and 7 deletions.
30 changes: 23 additions & 7 deletions config/labels/analyzers/clang-tidy.json
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@
],
"boost-use-ranges": [
"doc_url:https://clang.llvm.org/extra/clang-tidy/checks/boost/use-ranges.html",
"profile:extreme",
"severity:LOW"
],
"boost-use-to-string": [
Expand Down Expand Up @@ -200,6 +201,10 @@
],
"bugprone-bitwise-pointer-cast": [
"doc_url:https://clang.llvm.org/extra/clang-tidy/checks/bugprone/bitwise-pointer-cast.html",
"profile:default",
"profile:extreme",
"profile:security",
"profile:sensitive",
"severity:MEDIUM"
],
"bugprone-bool-pointer-implicit-conversion": [
Expand Down Expand Up @@ -480,6 +485,10 @@
],
"bugprone-pointer-arithmetic-on-polymorphic-object": [
"doc_url:https://clang.llvm.org/extra/clang-tidy/checks/bugprone/pointer-arithmetic-on-polymorphic-object.html",
"guideline:sei-cert",
"profile:extreme",
"profile:security",
"sei-cert:ctr56-cpp",
"severity:HIGH"
],
"bugprone-posix-return": [
Expand All @@ -505,6 +514,8 @@
],
"bugprone-return-const-ref-from-parameter": [
"doc_url:https://clang.llvm.org/extra/clang-tidy/checks/bugprone/return-const-ref-from-parameter.html",
"profile:extreme",
"profile:sensitive",
"severity:MEDIUM"
],
"bugprone-shared-ptr-array-mismatch": [
Expand Down Expand Up @@ -665,6 +676,8 @@
],
"bugprone-tagged-union-member-count": [
"doc_url:https://clang.llvm.org/extra/clang-tidy/checks/bugprone/tagged-union-member-count.html",
"profile:extreme",
"profile:sensitive",
"severity:MEDIUM"
],
"bugprone-suspicious-stringview-data-usage": [
Expand Down Expand Up @@ -812,13 +825,6 @@
"profile:sensitive",
"severity:MEDIUM"
],
"cert-arr39-c": [
"doc_url:https://clang.llvm.org/extra/clang-tidy/checks/cert/arr39-c.html",
"guideline:sei-cert",
"profile:security",
"sei-cert:arr39-c",
"severity:HIGH"
],
"cert-con36-c": [
"doc_url:https://clang.llvm.org/extra/clang-tidy/checks/cert/con36-c.html",
"severity:MEDIUM"
Expand Down Expand Up @@ -6629,9 +6635,12 @@
],
"misc-sizeof-expression": [
"doc_url:https://releases.llvm.org/6.0.1/tools/clang/tools/extra/docs/clang-tidy/checks/misc-sizeof-expression.html",
"guideline:sei-cert",
"profile:default",
"profile:extreme",
"profile:security",
"profile:sensitive",
"sei-cert:arr39-c",
"severity:HIGH"
],
"misc-static-assert": [
Expand Down Expand Up @@ -6772,6 +6781,7 @@
],
"misc-use-internal-linkage": [
"doc_url:https://clang.llvm.org/extra/clang-tidy/checks/misc/use-internal-linkage.html",
"profile:extreme",
"severity:LOW"
],
"misc-virtual-near-miss": [
Expand Down Expand Up @@ -6829,6 +6839,9 @@
],
"modernize-min-max-use-initializer-list": [
"doc_url:https://clang.llvm.org/extra/clang-tidy/checks/modernize/min-max-use-initializer-list.html",
"profile:default",
"profile:extreme",
"profile:sensitive",
"severity:LOW"
],
"modernize-pass-by-value": [
Expand Down Expand Up @@ -7173,10 +7186,13 @@
],
"portability-template-virtual-member-function": [
"doc_url:https://clang.llvm.org/extra/clang-tidy/checks/portability/template-virtual-member-function.html",
"profile:extreme",
"profile:sensitive",
"severity:MEDIUM"
],
"readability-math-missing-parentheses": [
"doc_url:https://clang.llvm.org/extra/clang-tidy/checks/readability/math-missing-parentheses.html",
"profile:extreme",
"severity:LOW"
],
"readability-avoid-const-params-in-decls": [
Expand Down

0 comments on commit 7c0ba25

Please sign in to comment.