SageInterface::isSameFunction
Check if two function declarations refer to the same one. Two function declarations are the same when they are a) identical, b) same name in C c) same qualified named and mangled name in C++. A nondefining (prototype) declaration and a defining declaration of a same function are treated as the same.
Synopsis
Declared in <SageIII/sageInterface/sageInterface.h>
[[visibility]]
bool
isSameFunction(
SgFunctionDeclaration* func1,
SgFunctionDeclaration* func2);
Description
There is a similar function bool compareFunctionDeclarations(SgFunctionDeclaration *f1, SgFunctionDeclaration *f2) from Classhierarchy.C
Parameters
Name |
Description |
func1 |
This class represents the concept of a function declaration statement. |
func2 |
This class represents the concept of a function declaration statement. |
Created with MrDocs