@@ -6,6 +6,7 @@ import codingstandards.cpp.exclusions.RuleMetadata
6
6
newtype Concurrency4Query =
7
7
TCleanUpThreadSpecificStorageQuery ( ) or
8
8
TAppropriateThreadObjectStorageDurationsQuery ( ) or
9
+ TThreadObjectStorageDurationsNotInitializedQuery ( ) or
9
10
TThreadWasPreviouslyJoinedOrDetachedQuery ( ) or
10
11
TDoNotReferToAnAtomicVariableTwiceInExpressionQuery ( )
11
12
@@ -26,6 +27,14 @@ predicate isConcurrency4QueryMetadata(Query query, string queryId, string ruleId
26
27
"c/cert/appropriate-thread-object-storage-durations" and
27
28
ruleId = "CON34-C"
28
29
or
30
+ query =
31
+ // `Query` instance for the `threadObjectStorageDurationsNotInitialized` query
32
+ Concurrency4Package:: threadObjectStorageDurationsNotInitializedQuery ( ) and
33
+ queryId =
34
+ // `@id` for the `threadObjectStorageDurationsNotInitialized` query
35
+ "c/cert/thread-object-storage-durations-not-initialized" and
36
+ ruleId = "CON34-C"
37
+ or
29
38
query =
30
39
// `Query` instance for the `threadWasPreviouslyJoinedOrDetached` query
31
40
Concurrency4Package:: threadWasPreviouslyJoinedOrDetachedQuery ( ) and
@@ -58,6 +67,13 @@ module Concurrency4Package {
58
67
TQueryC ( TConcurrency4PackageQuery ( TAppropriateThreadObjectStorageDurationsQuery ( ) ) )
59
68
}
60
69
70
+ Query threadObjectStorageDurationsNotInitializedQuery ( ) {
71
+ //autogenerate `Query` type
72
+ result =
73
+ // `Query` type for `threadObjectStorageDurationsNotInitialized` query
74
+ TQueryC ( TConcurrency4PackageQuery ( TThreadObjectStorageDurationsNotInitializedQuery ( ) ) )
75
+ }
76
+
61
77
Query threadWasPreviouslyJoinedOrDetachedQuery ( ) {
62
78
//autogenerate `Query` type
63
79
result =
0 commit comments