summaryrefslogtreecommitdiffstats
path: root/lib/Basic/CharInfo.cpp
Commit message (Collapse)AuthorAgeFilesLines
* CharInfo: Add missing "using namespace clang::charinfo" in .cpp file.Jordan Rose2013-02-081-2/+3
| | | | | | Should fix the MSC bot. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174769 91177308-0d34-0410-b5e6-96231b3b80d8
* Pull Lexer's CharInfo table out for general use throughout Clang.Jordan Rose2013-02-081-0/+80
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174765 91177308-0d34-0410-b5e6-96231b3b80d8