[llvm-commits] [PATCH] Use template to distinguish between variants of function
Chris Lattner
clattner at apple.com
Tue Oct 7 23:47:08 PDT 2008
On Oct 7, 2008, at 8:30 AM, 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.
Ok, this seems reasonable. However, it and hte <cstdio> patches are
less trivial than the other ones, so I can't apply them manually.
Please regenerate the patch and send them as attachments to the email,
thanks Samuel!
-Chris
More information about the llvm-commits
mailing list