summaryrefslogtreecommitdiffstats
path: root/lib/Support/LocaleGeneric.inc
blob: 278deee3e4dd323f434a550e35c518641cd830bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <cwctype>

namespace llvm {
namespace sys {
namespace locale {

int columnWidth(StringRef s) {
    return s.size();
}

bool isPrint(int c) {
    return iswprint(c);
}

}
}
}