[cfe-commits] r93390 - /cfe/trunk/lib/Basic/Diagnostic.cpp

Chris Lattner clattner at apple.com
Thu Jan 14 09:52:38 PST 2010


On Jan 13, 2010, at 4:50 PM, John McCall wrote:

> Author: rjmccall
> Date: Wed Jan 13 18:50:32 2010
> New Revision: 93390
>
> URL: http://llvm.org/viewvc/llvm-project?rev=93390&view=rev
> Log:
> Add the %ordinal format modifier for turning '1' into '1st'.  Hard- 
> coded for
> English right now;  would not be impossible to grab a special format  
> string
> from the diagnostic pool and localize that way.

Very spiffy, but please document this here:
http://clang.llvm.org/docs/InternalsManual.html#Diagnostics

-Chris



More information about the cfe-commits mailing list