[sanitizer] Add Scudo to the sanitizer lint checks.
authorKostya Kortchinsky <kostyak@google.com>
Wed, 8 Nov 2017 16:42:29 +0000 (16:42 +0000)
committerKostya Kortchinsky <kostyak@google.com>
Wed, 8 Nov 2017 16:42:29 +0000 (16:42 +0000)
commit6edadae34abe6f7c32a8e1953904a7b3b9921626
tree03891a21319df41639957fcbf8cabc65b706616f
parent1c1fd159592106f77299a09ace30282053c66b73
[sanitizer] Add Scudo to the sanitizer lint checks.

Summary:
Scudo abides by the coding style enforced by the sanitizer_common
linter, but as of right now, it's not linter-enforced.

Add Scudo to the list of directories checked by check_lint.sh.

Also: fixes some linter errors found after getting this running.

Reviewers: cryptoad

Reviewed By: cryptoad

Subscribers: llvm-commits, kubamracek

Differential Revision: https://reviews.llvm.org/D39757

llvm-svn: 317699
compiler-rt/lib/sanitizer_common/scripts/check_lint.sh
compiler-rt/lib/scudo/scudo_allocator_secondary.h
compiler-rt/lib/scudo/scudo_crc32.h
compiler-rt/lib/scudo/scudo_utils.cpp