@@ -6,9 +6,7 @@ import codingstandards.cpp.exclusions.RuleMetadata
6
6
newtype Concurrency4Query =
7
7
TCleanUpThreadSpecificStorageQuery ( ) or
8
8
TAppropriateThreadObjectStorageDurationsQuery ( ) or
9
- TThreadObjectStorageDurationsNotInitializedQuery ( ) or
10
- TThreadWasPreviouslyJoinedOrDetachedQuery ( ) or
11
- TDoNotReferToAnAtomicVariableTwiceInExpressionQuery ( )
9
+ TThreadObjectStorageDurationsNotInitializedQuery ( )
12
10
13
11
predicate isConcurrency4QueryMetadata ( Query query , string queryId , string ruleId ) {
14
12
query =
@@ -34,22 +32,6 @@ predicate isConcurrency4QueryMetadata(Query query, string queryId, string ruleId
34
32
// `@id` for the `threadObjectStorageDurationsNotInitialized` query
35
33
"c/cert/thread-object-storage-durations-not-initialized" and
36
34
ruleId = "CON34-C"
37
- or
38
- query =
39
- // `Query` instance for the `threadWasPreviouslyJoinedOrDetached` query
40
- Concurrency4Package:: threadWasPreviouslyJoinedOrDetachedQuery ( ) and
41
- queryId =
42
- // `@id` for the `threadWasPreviouslyJoinedOrDetached` query
43
- "c/cert/thread-was-previously-joined-or-detached" and
44
- ruleId = "CON39-C"
45
- or
46
- query =
47
- // `Query` instance for the `doNotReferToAnAtomicVariableTwiceInExpression` query
48
- Concurrency4Package:: doNotReferToAnAtomicVariableTwiceInExpressionQuery ( ) and
49
- queryId =
50
- // `@id` for the `doNotReferToAnAtomicVariableTwiceInExpression` query
51
- "c/cert/do-not-refer-to-an-atomic-variable-twice-in-expression" and
52
- ruleId = "CON40-C"
53
35
}
54
36
55
37
module Concurrency4Package {
@@ -73,18 +55,4 @@ module Concurrency4Package {
73
55
// `Query` type for `threadObjectStorageDurationsNotInitialized` query
74
56
TQueryC ( TConcurrency4PackageQuery ( TThreadObjectStorageDurationsNotInitializedQuery ( ) ) )
75
57
}
76
-
77
- Query threadWasPreviouslyJoinedOrDetachedQuery ( ) {
78
- //autogenerate `Query` type
79
- result =
80
- // `Query` type for `threadWasPreviouslyJoinedOrDetached` query
81
- TQueryC ( TConcurrency4PackageQuery ( TThreadWasPreviouslyJoinedOrDetachedQuery ( ) ) )
82
- }
83
-
84
- Query doNotReferToAnAtomicVariableTwiceInExpressionQuery ( ) {
85
- //autogenerate `Query` type
86
- result =
87
- // `Query` type for `doNotReferToAnAtomicVariableTwiceInExpression` query
88
- TQueryC ( TConcurrency4PackageQuery ( TDoNotReferToAnAtomicVariableTwiceInExpressionQuery ( ) ) )
89
- }
90
58
}
0 commit comments