File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ Migration rules are specified in YAML files. A single rule file may contain mult
5656 - Required. Specifies the priority of the rule: ``Takeover `` > ``Default `` > ``Fallback ``.
5757 When there are rule conflicts, the rule with higher priority will take precedence.
5858 * - Kind
59- - ``Macro `` | ``API `` | ``Header `` | ``Type `` | ``Class `` | ``Enum `` | ``DisableAPIMigration `` | ``PatternRewriter `` | ``CMakeRule `` | ``PythonRule ``
59+ - ``Macro `` | ``API `` | ``Header `` | ``Type `` | ``Class `` | ``Enum `` | ``DisableAPIMigration `` | ``PatternRewriter `` | ``CMakeRule `` | ``PythonRule `` | `` HelperFunction `` |
6060 - Required. Specifies the rule type.
6161 * - CmakeSyntax
6262 - String value
@@ -180,6 +180,11 @@ rule types. The behavior of each rule is explained in the corresponding comment:
180180 # is the user-defined name which is defined in "In".
181181 In: a # Match pattern "a" in ${args}
182182 Out: b # Replace the pattern string to "b" in ${args}
183+ - Rule: rule_default_queue
184+ Kind: HelperFunction
185+ Priority: Takeover
186+ In: get_in_order_queue # Replacing the helper function "get_in_order_queue" in the migrated code
187+ Out: getUserDefinedQueue() # with "getUserDefinedQueue()"
183188 ... # [YAML syntax] End the document
184189
185190
You can’t perform that action at this time.
0 commit comments