diff options
author | Seth Cantrell <seth.cantrell@gmail.com> | 2012-04-17 20:03:03 +0000 |
---|---|---|
committer | Seth Cantrell <seth.cantrell@gmail.com> | 2012-04-17 20:03:03 +0000 |
commit | fdc97cd2c332e5544bd99cefa4070329cc8bf668 (patch) | |
tree | 127008e9d8238c7b7548b9998727366f63afecb3 /include | |
parent | b90757078f6c270f0b4138dde10a02bd3b64750f (diff) | |
download | external_llvm-fdc97cd2c332e5544bd99cefa4070329cc8bf668.zip external_llvm-fdc97cd2c332e5544bd99cefa4070329cc8bf668.tar.gz external_llvm-fdc97cd2c332e5544bd99cefa4070329cc8bf668.tar.bz2 |
platform support for counting column widths and checking isprint
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154944 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Support/Locale.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/llvm/Support/Locale.h b/include/llvm/Support/Locale.h new file mode 100644 index 0000000..b0f1295 --- /dev/null +++ b/include/llvm/Support/Locale.h @@ -0,0 +1,17 @@ +#ifndef LLVM_SUPPORT_LOCALE +#define LLVM_SUPPORT_LOCALE + +#include "llvm/ADT/StringRef.h" + +namespace llvm { +namespace sys { +namespace locale { + +int columnWidth(StringRef s); +bool isPrint(int c); + +} +} +} + +#endif // LLVM_SUPPORT_LOCALE |