Skip to content

Commit f5b5c69

Browse files
committed
C++: Freeze the quality part of the existing cpp-security-and-quality.qls suite.
1 parent b5b8165 commit f5b5c69

1 file changed

Lines changed: 88 additions & 1 deletion

File tree

Lines changed: 88 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,92 @@
11
- description: Security-and-quality queries for C and C++
22
- queries: .
3-
- apply: security-and-quality-selectors.yml
3+
- apply: security-and-frozen-quality-selectors.yml
44
from: codeql/suite-helpers
5+
- include:
6+
id:
7+
- cpp/ambiguous-assignment-of-comparison
8+
- cpp/ambiguously-signed-bit-field
9+
- cpp/array-arg-size-mismatch
10+
- cpp/array-in-interface
11+
- cpp/assign-where-compare-meant
12+
- cpp/assignment-does-not-return-this
13+
- cpp/bitwise-sign-check
14+
- cpp/catch-by-value
15+
- cpp/catch-missing-free
16+
- cpp/commented-out-code
17+
- cpp/compare-where-assign-meant
18+
- cpp/comparison-of-identical-expressions
19+
- cpp/comparison-precedence
20+
- cpp/complex-block
21+
- cpp/complex-condition
22+
- cpp/constant-comparison
23+
- cpp/constructor-delegation
24+
- cpp/continue-in-false-loop
25+
- cpp/dead-code-goto
26+
- cpp/declaration-hides-parameter
27+
- cpp/declaration-hides-variable
28+
- cpp/dubious-null-check
29+
- cpp/duplicate-include-guard
30+
- cpp/empty-block
31+
- cpp/empty-if
32+
- cpp/equality-on-floats
33+
- cpp/fixme-comment
34+
- cpp/function-in-block
35+
- cpp/futile-params
36+
- cpp/guarded-free
37+
- cpp/implicit-bitfield-downcast
38+
- cpp/implicit-function-declaration
39+
- cpp/include-non-header
40+
- cpp/incomplete-parity-check
41+
- cpp/inconsistent-call-on-result
42+
- cpp/inconsistent-loop-direction
43+
- cpp/inconsistent-null-check
44+
- cpp/inconsistent-virtual-inheritance
45+
- cpp/integer-used-for-enum
46+
- cpp/irregular-enum-init
47+
- cpp/large-parameter
48+
- cpp/leap-year/adding-365-days-per-year
49+
- cpp/leap-year/unchecked-after-arithmetic-year-modification
50+
- cpp/leap-year/unchecked-return-value-for-time-conversion-function
51+
- cpp/local-variable-hides-global-variable
52+
- cpp/logical-operator-applied-to-flag
53+
- cpp/long-switch
54+
- cpp/loop-variable-changed
55+
- cpp/loop-variable-float
56+
- cpp/lossy-function-result-cast
57+
- cpp/lossy-pointer-cast
58+
- cpp/member-const-no-effect
59+
- cpp/missing-case-in-switch
60+
- cpp/missing-header-guard
61+
- cpp/missing-return
62+
- cpp/mistyped-function-arguments
63+
- cpp/nested-loops-with-same-variable
64+
- cpp/new-array-delete-mismatch
65+
- cpp/new-delete-array-mismatch
66+
- cpp/non-member-const-no-effect
67+
- cpp/poorly-documented-function
68+
- cpp/redefined-default-parameter
69+
- cpp/resource-not-released-in-destructor
70+
- cpp/rethrow-no-exception
71+
- cpp/return-c-str-of-std-string
72+
- cpp/rule-of-two
73+
- cpp/short-global-name
74+
- cpp/sizeof-side-effect
75+
- cpp/slicing
76+
- cpp/stack-address-escape
77+
- cpp/string-copy-return-value-as-boolean
78+
- cpp/throw-in-destructor
79+
- cpp/throwing-pointer
80+
- cpp/too-many-format-arguments
81+
- cpp/trivial-switch
82+
- cpp/undisciplined-multiple-inheritance
83+
- cpp/unsigned-comparison-zero
84+
- cpp/unused-local-variable
85+
- cpp/unused-static-function
86+
- cpp/unused-static-variable
87+
- cpp/use-in-own-initializer
88+
- cpp/use-of-goto
89+
- cpp/useless-expression
90+
- cpp/virtual-call-in-constructor
91+
- cpp/virtual-destructor
592
- apply: codeql-suites/exclude-slow-queries.yml

0 commit comments

Comments
 (0)