[llvm-commits] [PATCH] Use template to distinguish between variants of function

Duncan Sands baldrick at free.fr
Wed Oct 8 00:50:02 PDT 2008


On Tuesday 07 October 2008 17:30:53 Samuel Tardieu wrote:
> GCC 4.4.0 gives an error on the "int" declaration for example
> saying that it has already been declared (using the "short"
> one). Using templates here allow the compiler to distinguish
> between the function to choose and is, IMO, cleaner.

I applied this - thanks!

Ciao,

Duncan.



More information about the llvm-commits mailing list