diff options
| author | Vitaly Buka <vitalybuka@google.com> | 2019-09-11 23:19:48 +0000 |
|---|---|---|
| committer | Vitaly Buka <vitalybuka@google.com> | 2019-09-11 23:19:48 +0000 |
| commit | c0fa632236308100e1031fc86edfde13ddc4bcef (patch) | |
| tree | d215765082c2569ada54328895bfbc6fc3609e72 /compiler-rt/include | |
| parent | bcc24e46ba3868510ed25cea5ac7b6fc2cc47d73 (diff) | |
| download | bcm5719-llvm-c0fa632236308100e1031fc86edfde13ddc4bcef.tar.gz bcm5719-llvm-c0fa632236308100e1031fc86edfde13ddc4bcef.zip | |
Remove NOLINTs from compiler-rt
llvm-svn: 371687
Diffstat (limited to 'compiler-rt/include')
| -rw-r--r-- | compiler-rt/include/sanitizer/dfsan_interface.h | 5 | ||||
| -rw-r--r-- | compiler-rt/include/sanitizer/tsan_interface_atomic.h | 8 |
2 files changed, 4 insertions, 9 deletions
diff --git a/compiler-rt/include/sanitizer/dfsan_interface.h b/compiler-rt/include/sanitizer/dfsan_interface.h index c189ee55790..7960d9e0223 100644 --- a/compiler-rt/include/sanitizer/dfsan_interface.h +++ b/compiler-rt/include/sanitizer/dfsan_interface.h @@ -111,11 +111,6 @@ void dfsan_weak_hook_strncmp(void *caller_pc, const char *s1, const char *s2, #ifdef __cplusplus } // extern "C" -template <typename T> -void dfsan_set_label(dfsan_label label, T &data) { // NOLINT - dfsan_set_label(label, (void *)&data, sizeof(T)); -} - #endif #endif // DFSAN_INTERFACE_H diff --git a/compiler-rt/include/sanitizer/tsan_interface_atomic.h b/compiler-rt/include/sanitizer/tsan_interface_atomic.h index 9ce0411917d..8052bc1d56b 100644 --- a/compiler-rt/include/sanitizer/tsan_interface_atomic.h +++ b/compiler-rt/include/sanitizer/tsan_interface_atomic.h @@ -17,10 +17,10 @@ extern "C" { #endif -typedef char __tsan_atomic8; -typedef short __tsan_atomic16; // NOLINT -typedef int __tsan_atomic32; -typedef long __tsan_atomic64; // NOLINT +typedef char __tsan_atomic8; +typedef short __tsan_atomic16; +typedef int __tsan_atomic32; +typedef long __tsan_atomic64; #if defined(__SIZEOF_INT128__) \ || (__clang_major__ * 100 + __clang_minor__ >= 302) __extension__ typedef __int128 __tsan_atomic128; |

