Skip to content

VariableRenaming::isFromLibrary

Gets whether or not the function is from a library.

Synopsis

Declared in <src/midend/programAnalysis/variableRenaming/VariableRenaming.h>

static
bool
isFromLibrary(SgFunctionDeclaration* node);

Description

This method checks if the variable is compiler generated, and if its filename has "/include/" in it. If so, it will return true. Otherwise, it returns false.

Return Value

true if initName is from a library, false if otherwise.

Parameters

Name

Description

node

The function to check.

Created with MrDocs