While looking into http://llvm.org/bugs/show_bug.cgi?id=17782, I noticed that 
there was a chunk of code in <locale> for dealing with floating point numbers.
This code was duplicated three times, once for float, double, and long double.  
Hoist this into a template, and make the original call sites use the template.

No functionality change intended.

-- Marshall

Marshall Clow     Idio Software   <mailto:[email protected]>

A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly 
moderated down to (-1, Flamebait).
        -- Yu Suzuki

Attachment: do_get_floating_point.patch
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to