From fdc97cd2c332e5544bd99cefa4070329cc8bf668 Mon Sep 17 00:00:00 2001 From: Seth Cantrell Date: Tue, 17 Apr 2012 20:03:03 +0000 Subject: 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 --- include/llvm/Support/Locale.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 include/llvm/Support/Locale.h (limited to 'include/llvm/Support/Locale.h') diff --git a/include/llvm/Support/Locale.h b/include/llvm/Support/Locale.h new file mode 100644 index 0000000000..b0f1295802 --- /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 -- cgit v1.2.3