@@ -16,7 +16,7 @@ newtype BannedSyntaxQuery =
1616 TTypedefSpecifierUsedQuery ( ) or
1717 TAsmDeclarationUsedQuery ( ) or
1818 TFunctionsDefinedUsingTheEllipsisNotationQuery ( ) or
19- TUnionsUsedQuery ( ) or
19+ TUnionKeywordUsedAutosarCppQuery ( ) or
2020 TCommaOperatorUsedQuery ( ) or
2121 TUsingDirectivesUsedQuery ( ) or
2222 TUsingDeclarationsUsedInHeaderFilesQuery ( ) or
@@ -132,11 +132,11 @@ predicate isBannedSyntaxQueryMetadata(Query query, string queryId, string ruleId
132132 category = "required"
133133 or
134134 query =
135- // `Query` instance for the `unionsUsed ` query
136- BannedSyntaxPackage:: unionsUsedQuery ( ) and
135+ // `Query` instance for the `unionKeywordUsedAutosarCpp ` query
136+ BannedSyntaxPackage:: unionKeywordUsedAutosarCppQuery ( ) and
137137 queryId =
138- // `@id` for the `unionsUsed ` query
139- "cpp/autosar/unions- used" and
138+ // `@id` for the `unionKeywordUsedAutosarCpp ` query
139+ "cpp/autosar/union-keyword- used-autosar-cpp " and
140140 ruleId = "A9-5-1" and
141141 category = "required"
142142 or
@@ -262,11 +262,11 @@ module BannedSyntaxPackage {
262262 TQueryCPP ( TBannedSyntaxPackageQuery ( TFunctionsDefinedUsingTheEllipsisNotationQuery ( ) ) )
263263 }
264264
265- Query unionsUsedQuery ( ) {
265+ Query unionKeywordUsedAutosarCppQuery ( ) {
266266 //autogenerate `Query` type
267267 result =
268- // `Query` type for `unionsUsed ` query
269- TQueryCPP ( TBannedSyntaxPackageQuery ( TUnionsUsedQuery ( ) ) )
268+ // `Query` type for `unionKeywordUsedAutosarCpp ` query
269+ TQueryCPP ( TBannedSyntaxPackageQuery ( TUnionKeywordUsedAutosarCppQuery ( ) ) )
270270 }
271271
272272 Query commaOperatorUsedQuery ( ) {
0 commit comments