[cfe-commits] PATCH: Fix the complex overloading behavior in Clang

Douglas Gregor dgregor at apple.com
Mon Feb 22 10:26:18 PST 2010


On Feb 20, 2010, at 12:53 PM, Chandler Carruth wrote:

> This fixes the Clang behavior for overloads involving complex floating
> point numbers. It now agrees with GCC about how these overloads should
> be resolved. All the tests were here, they simply had specified that
> we expected to do the opposite of what GCC does.

Looks good, thanks!

> Notably, this fixes the handling of std::complex extensions present in
> libstdc++ when converting from integers (among other cases).


Excellent.

	- Doug



More information about the cfe-commits mailing list