aboutsummaryrefslogtreecommitdiffstats
path: root/src/kvilib/core/KviCString.cpp
diff options
context:
space:
mode:
authorGravatar Alexey Sokolov2016-04-23 21:22:04 +0100
committerGravatar Alexey Sokolov2016-04-29 23:48:35 +0100
commitb1a8a94e954620a937e686206717f1a7d2c64719 (patch)
treeb5c50dbe6207cf24a64c59cd7e5a03330ce4a0e2 /src/kvilib/core/KviCString.cpp
parentKviIrcConnectionRequestQueue: typo fix in file type (diff)
downloadKVIrc-b1a8a94e954620a937e686206717f1a7d2c64719.tar.gz
KVIrc-b1a8a94e954620a937e686206717f1a7d2c64719.tar.bz2
KVIrc-b1a8a94e954620a937e686206717f1a7d2c64719.zip
Protect several hand-crafted blocks from clang-format
Diffstat (limited to 'src/kvilib/core/KviCString.cpp')
-rw-r--r--src/kvilib/core/KviCString.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/kvilib/core/KviCString.cpp b/src/kvilib/core/KviCString.cpp
index ec7257165..e6c1208e3 100644
--- a/src/kvilib/core/KviCString.cpp
+++ b/src/kvilib/core/KviCString.cpp
@@ -1990,6 +1990,7 @@ KviCString & KviCString::hexEncodeWhiteSpace()
{
static unsigned char ascii_jump_table[256]=
{
+ // clang-format off
// 000 001 002 003 004 005 006 007 008 009 010 011 012 013 014 015
// NUL SOH STX ETX EOT ENQ ACK BEL BS HT LF VT FF CR SO SI
1 ,1 ,1 ,1 ,1 ,1 ,1 ,1 ,1 ,1 ,1 ,1 ,1 ,1 ,1 ,1 ,
@@ -2038,6 +2039,7 @@ KviCString & KviCString::hexEncodeWhiteSpace()
// 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255
// � � � � � � � �
0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0
+ // clang-format on
};
return hexEncodeWithTable(ascii_jump_table);