Skip to content

SageInterface::declarationPreceedsDefinition

Check if a defining declaration comes before of after the non‐defining declaration.

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

bool
declarationPreceedsDefinition(
    SgDeclarationStatement* nonDefiningDeclaration,
    SgDeclarationStatement* definingDeclaration);

Parameters

Name

Description

nonDefiningDeclaration

This class represents the concept of a declaration statement.

definingDeclaration

This class represents the concept of a declaration statement.

Created with MrDocs