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 | 17b6c662f2f60ad2e5522694df32bde9e71c7725 (patch) | |
tree | 937fc76e3cced266c2c8846e31022b7e39cab6ec /include/sanitizer | |
parent | d40d1324c710f029866cd872825b728859d3d21f (diff) | |
download | compiler-rt-17b6c662f2f60ad2e5522694df32bde9e71c7725.tar.gz |
Remove NOLINTs from compiler-rt
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@371687 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/sanitizer')
-rw-r--r-- | include/sanitizer/dfsan_interface.h | 5 | ||||
-rw-r--r-- | include/sanitizer/tsan_interface_atomic.h | 8 |
2 files changed, 4 insertions, 9 deletions
diff --git a/include/sanitizer/dfsan_interface.h b/include/sanitizer/dfsan_interface.h index c189ee557..7960d9e02 100644 --- a/include/sanitizer/dfsan_interface.h +++ b/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/include/sanitizer/tsan_interface_atomic.h b/include/sanitizer/tsan_interface_atomic.h index 9ce041191..8052bc1d5 100644 --- a/include/sanitizer/tsan_interface_atomic.h +++ b/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; |