kbtree: make warning free and delete deprecated macros

This commit is contained in:
Björn Linse
2016-08-28 13:26:01 +02:00
parent 14e19b8aaf
commit 28a549d597
4 changed files with 53 additions and 70 deletions

View File

@@ -2529,6 +2529,8 @@ def CheckSpacing(filename, clean_lines, linenum, nesting_state, error):
r'(?<!\bklist_t)'
r'(?<!\bkliter_t)'
r'(?<!\bkhash_t)'
r'(?<!\bkbtree_t)'
r'(?<!\bkbitr_t)'
r'\((?:const )?(?:struct )?[a-zA-Z_]\w*(?: *\*(?:const)?)*\)'
r' +'
r'-?(?:\*+|&)?(?:\w+|\+\+|--|\()', cast_line)