Skip to content

SgScopeStatement::supportsDefiningFunctionDeclaration

Reports if scope can support defining function declarations.// Not all scopes permit function declarations. Any function prototype in a// scope appropriate for a function definition triggers requirements for namequalification.// This function returns true if the scope is appropriate for the definition ofa function// or member function (i.e. is a SgGlobal, SgClassDefinition, orSgNamespaceDefinitionStatement).

Synopsis

Declared in <src/frontend/SageIII/Cxx_Grammar.h> (not stored in Git)

bool
supportsDefiningFunctionDeclaration();

Created with MrDocs