Skip to content

checkIsFrontendSpecificFlag

Checks whether appropriate nodes of an AST are marked as front‐end specific.

Synopsis

Declared in <SageIII/astPostProcessing/checkIsFrontendSpecificFlag.h>

size_t
checkIsFrontendSpecificFlag(SgNode* ast);

Description

A node is frontend‐specific if it was parsed from the "rose_required_macros_and_functions.h" or if it has an ancestor in the AST that is frontend‐specific. All violations are fixed in place. Returns the number of violations found/fixed.

Parameters

Name

Description

ast

This class represents the base class for all IR nodes within Sage III.

Created with MrDocs