@@ -6,9 +6,7 @@ import codingstandards.cpp.exclusions.RuleMetadata
66newtype Concurrency4Query =
77 TCleanUpThreadSpecificStorageQuery ( ) or
88 TAppropriateThreadObjectStorageDurationsQuery ( ) or
9- TThreadObjectStorageDurationsNotInitializedQuery ( ) or
10- TThreadWasPreviouslyJoinedOrDetachedQuery ( ) or
11- TDoNotReferToAnAtomicVariableTwiceInExpressionQuery ( )
9+ TThreadObjectStorageDurationsNotInitializedQuery ( )
1210
1311predicate isConcurrency4QueryMetadata ( Query query , string queryId , string ruleId ) {
1412 query =
@@ -34,22 +32,6 @@ predicate isConcurrency4QueryMetadata(Query query, string queryId, string ruleId
3432 // `@id` for the `threadObjectStorageDurationsNotInitialized` query
3533 "c/cert/thread-object-storage-durations-not-initialized" and
3634 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"
5335}
5436
5537module Concurrency4Package {
@@ -73,18 +55,4 @@ module Concurrency4Package {
7355 // `Query` type for `threadObjectStorageDurationsNotInitialized` query
7456 TQueryC ( TConcurrency4PackageQuery ( TThreadObjectStorageDurationsNotInitializedQuery ( ) ) )
7557 }
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- }
9058}
0 commit comments