[cfe-dev] RFC: Function Overloading in C

Douglas Gregor dgregor at apple.com
Thu Feb 12 17:31:36 PST 2009


Hi all,

I've just finished the implementation of the "overloadable" function  
attribute that introduces function overloading into C. The intent is  
to make it easier to implement "type-generic" functions (such as those  
in tgmath.h and altivec.h). The feature is in Clang's trunk, and is  
documented here:

	http://clang.llvm.org/docs/LanguageExtensions.html#overloading-in-c

Comments welcome!

	- Doug



More information about the cfe-dev mailing list