Skip to content

ASTtools::isMain

Returns 'true' if the function is 'main'.

Synopsis

Declared in <src/midend/programTransformation/astOutlining/ASTtools.hh>

bool
isMain(SgFunctionDeclaration const* decl);

Return Value

'true' if the function is 'main'.

Parameters

Name

Description

decl

This class represents the concept of a function declaration statement.

Created with MrDocs