Seth Cantrell | fdc97cd | 2012-04-17 20:03:03 +0000 | [diff] [blame] | 1 | namespace llvm { |
2 | namespace sys { | ||||
3 | namespace locale { | ||||
4 | |||||
5 | int columnWidth(StringRef s) { | ||||
6 | return s.size(); | ||||
7 | } | ||||
8 | |||||
9 | bool isPrint(int c) { | ||||
10 | return ' ' <= c && c <= '~'; | ||||
11 | } | ||||
12 | |||||
13 | } | ||||
14 | } | ||||
15 | } |