Skip to content

patact

Create a PatternActionRule

Synopsis

Declared in <src/midend/programTransformation/finiteDifferencing/patternRewrite.h>

PatternActionRule*
patact(
    Pattern* pattern,
    Pattern* action);

Return Value

A rule which changes one pattern of code to another

Parameters

Name

Description

pattern

Abstract interface for a pattern which can match ASTs

action

Abstract interface for a pattern which can match ASTs

Created with MrDocs