diff options
Diffstat (limited to 'contrib/llvm/lib/Support/LocaleWindows.inc')
-rw-r--r-- | contrib/llvm/lib/Support/LocaleWindows.inc | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/contrib/llvm/lib/Support/LocaleWindows.inc b/contrib/llvm/lib/Support/LocaleWindows.inc new file mode 100644 index 0000000..28e429c --- /dev/null +++ b/contrib/llvm/lib/Support/LocaleWindows.inc @@ -0,0 +1,15 @@ +namespace llvm { +namespace sys { +namespace locale { + +int columnWidth(StringRef s) { + return s.size(); +} + +bool isPrint(int c) { + return ' ' <= c && c <= '~'; +} + +} +} +} |