diff options
| author | Alexander Potapenko <glider@google.com> | 2013-02-07 14:58:04 +0000 |
|---|---|---|
| committer | Alexander Potapenko <glider@google.com> | 2013-02-07 14:58:04 +0000 |
| commit | 109aa04ea90ae4a0ae3f455190075c979286f89e (patch) | |
| tree | 816b3b8a042c590d93136aabab9098dcb01d414d /compiler-rt | |
| parent | 349cabed2fadfa91a09bbc38e9e7dac0dd0a996a (diff) | |
| download | bcm5719-llvm-109aa04ea90ae4a0ae3f455190075c979286f89e.tar.gz bcm5719-llvm-109aa04ea90ae4a0ae3f455190075c979286f89e.zip | |
[sanitizer_common] Fix lint warnings.
llvm-svn: 174616
Diffstat (limited to 'compiler-rt')
| -rw-r--r-- | compiler-rt/lib/sanitizer_common/sanitizer_allocator.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_allocator.h b/compiler-rt/lib/sanitizer_common/sanitizer_allocator.h index b4eb7f99484..2fd9322f18a 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_allocator.h +++ b/compiler-rt/lib/sanitizer_common/sanitizer_allocator.h @@ -408,13 +408,13 @@ class SizeClassAllocator64 { void ForceLock() { for (uptr i = 0; i < kNumClasses; i++) { GetRegionInfo(i)->mutex.Lock(); - } + } } void ForceUnlock() { for (int i = (int)kNumClasses - 1; i >= 0; i--) { GetRegionInfo(i)->mutex.Unlock(); - } + } } typedef SizeClassMap SizeClassMapT; @@ -654,13 +654,13 @@ class SizeClassAllocator32 { void ForceLock() { for (uptr i = 0; i < kNumClasses; i++) { GetSizeClassInfo(i)->mutex.Lock(); - } + } } void ForceUnlock() { for (int i = kNumClasses - 1; i >= 0; i--) { GetSizeClassInfo(i)->mutex.Unlock(); - } + } } void PrintStats() { |

