diff options
author | Jordan Rose <jordan_rose@apple.com> | 2013-02-08 22:30:22 +0000 |
---|---|---|
committer | Jordan Rose <jordan_rose@apple.com> | 2013-02-08 22:30:22 +0000 |
commit | a2100d755ad9f24261360fe3d1da725a1d3c8530 (patch) | |
tree | f8d6073807d7a65835a38830422960d5f2a050af /clang/lib/Lex/ModuleMap.cpp | |
parent | 72fffbab66da9a0b760371780313f97a45647526 (diff) | |
download | llvm-a2100d755ad9f24261360fe3d1da725a1d3c8530.zip llvm-a2100d755ad9f24261360fe3d1da725a1d3c8530.tar.gz llvm-a2100d755ad9f24261360fe3d1da725a1d3c8530.tar.bz2 |
Pull Lexer's CharInfo table out for general use throughout Clang.
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
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions