[Lldb-commits] [PATCH] Use isdigit() instead of isnumber(), include cctype
johnso87 at crhc.illinois.edu
Fri Aug 19 12:15:03 PDT 2011
DisassemblerLLVM.cpp uses isnumber() to discern whether a character is a
decimal digit. isnumber() is found in BSD and OS X headers, but is not
part of the C standard. isdigit() is the standardized counterpart; I
haven't been able to find clear information on what the precise
difference is between the two, but my feeling is that we can replace
isnumber() with isdigit() with no change in functionality. The attached
patch does so, and includes cctype to make the provenance of the
The practical effect of the patch is to unbreak the build on Linux.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 739 bytes
Desc: not available
More information about the lldb-commits