[cfe-commits] r146638 - /cfe/trunk/lib/Frontend/VerifyDiagnosticConsumer.cpp

Anna Zaks ganna at apple.com
Wed Dec 14 20:40:19 PST 2011


Thanks Eli!

I was also looking at <limits.h>.. At least, there is a clang standard header, which provides UINT_MAX:
./tools/clang/lib/Headers/limits.h

Anna.
On Dec 14, 2011, at 8:24 PM, Eli Friedman wrote:

> Author: efriedma
> Date: Wed Dec 14 22:24:37 2011
> New Revision: 146638
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=146638&view=rev
> Log:
> <climits> has UINT_MAX, not <limits>.
> 
> 
> Modified:
>    cfe/trunk/lib/Frontend/VerifyDiagnosticConsumer.cpp
> 
> Modified: cfe/trunk/lib/Frontend/VerifyDiagnosticConsumer.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/VerifyDiagnosticConsumer.cpp?rev=146638&r1=146637&r2=146638&view=diff
> ==============================================================================
> --- cfe/trunk/lib/Frontend/VerifyDiagnosticConsumer.cpp (original)
> +++ cfe/trunk/lib/Frontend/VerifyDiagnosticConsumer.cpp Wed Dec 14 22:24:37 2011
> @@ -18,7 +18,7 @@
> #include "llvm/ADT/SmallString.h"
> #include "llvm/Support/Regex.h"
> #include "llvm/Support/raw_ostream.h"
> -#include <limits>
> +#include <climits>
> 
> using namespace clang;
> 
> 
> 
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits




More information about the cfe-commits mailing list