[LLVMdev] Function::isExternal()

Reid Spencer rspencer at reidspencer.com
Tue Mar 6 18:42:57 PST 2007


On Tue, 2007-03-06 at 20:26 -0600, Ryan M. Lefever wrote:
> There used to be a method in Function called isExternal() that you could 
> call to check if a function is external.  That method seems to be 
> removed.  What method should now be called to check if a function 
> isExternal?

isDeclaration()

People were confusing externally defined functions with external
linkage. So we changed the nomenclature to isDeclaration.

Reid.

> 
> Regards,
> Ryan
> 




More information about the llvm-dev mailing list