diff options
author | James McCoy <jamessan@jamessan.com> | 2016-11-24 09:55:12 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-24 09:55:12 -0500 |
commit | 42736d6a2a1fe97b462b6fcef11a7ae655287975 (patch) | |
tree | d93d891c8052a4e54b224cb0c0531ccb43ddea49 /src/nvim/mbyte.c | |
parent | cbf2a86c1d3e13eba0c194efb68327857fc3282e (diff) | |
parent | ca292c97688e1a43f2b29594007effb8dd141636 (diff) | |
download | rneovim-42736d6a2a1fe97b462b6fcef11a7ae655287975.tar.gz rneovim-42736d6a2a1fe97b462b6fcef11a7ae655287975.tar.bz2 rneovim-42736d6a2a1fe97b462b6fcef11a7ae655287975.zip |
Merge pull request #5595 from jamessan/tsan-pie
tsan: Compile with -fPIE and updated clang
Diffstat (limited to 'src/nvim/mbyte.c')
-rw-r--r-- | src/nvim/mbyte.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/nvim/mbyte.c b/src/nvim/mbyte.c index 7be0be7106..2ecd86974e 100644 --- a/src/nvim/mbyte.c +++ b/src/nvim/mbyte.c @@ -69,24 +69,6 @@ struct interval { #endif /* - * Lookup table to quickly get the length in bytes of a UTF-8 character from - * the first byte of a UTF-8 string. - * Bytes which are illegal when used as the first byte have a 1. - * The NUL byte has length 1. - */ -char utf8len_tab[256] = -{ - 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, - 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, - 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, - 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, - 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, - 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, - 2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2, - 3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,5,5,5,5,6,6,1,1, -}; - -/* * Like utf8len_tab above, but using a zero for illegal lead bytes. */ static uint8_t utf8len_tab_zero[256] = |