summaryrefslogtreecommitdiffstats
path: root/clang/unittests/Basic/CharInfoTest.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Excise <cctype> from Clang (except clang-tblgen) in favor of CharInfo.h.Jordan Rose2013-02-081-0/+122
| | | | | | | Nearly all of these changes are one-to-one replacements; the few that aren't have to do with custom identifier validation. llvm-svn: 174768
* Pull Lexer's CharInfo table out for general use throughout Clang.Jordan Rose2013-02-081-0/+377
Rewriting the same predicates over and over again is bad for code size and code maintainence. Using the functions in <ctype.h> is generally unsafe unless they are specified to be locale-independent (i.e. only isdigit and isxdigit). The next commit will try to clean up uses of <ctype.h> functions within Clang. llvm-svn: 174765
OpenPOWER on IntegriCloud