diff options
| -rw-r--r-- | compiler-rt/lib/sanitizer_common/sanitizer_atomic_msvc.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_atomic_msvc.h b/compiler-rt/lib/sanitizer_common/sanitizer_atomic_msvc.h index 212e069145c..3a1a9474128 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_atomic_msvc.h +++ b/compiler-rt/lib/sanitizer_common/sanitizer_atomic_msvc.h @@ -34,9 +34,9 @@ extern "C" void *_InterlockedCompareExchangePointer( // There's no _InterlockedCompareExchangePointer intrinsic on x86, // so call _InterlockedCompareExchange instead. extern "C" -long __cdecl _InterlockedCompareExchange( - long volatile *Destination, - long Exchange, long Comparand); +long __cdecl _InterlockedCompareExchange( // NOLINT + long volatile *Destination, // NOLINT + long Exchange, long Comparand); // NOLINT #pragma intrinsic(_InterlockedCompareExchange) inline static void *_InterlockedCompareExchangePointer( @@ -44,9 +44,9 @@ inline static void *_InterlockedCompareExchangePointer( void *Exchange, void *Comparand) { return reinterpret_cast<void*>( _InterlockedCompareExchange( - reinterpret_cast<long volatile*>(Destination), - reinterpret_cast<long>(Exchange), - reinterpret_cast<long>(Comparand))); + reinterpret_cast<long volatile*>(Destination), // NOLINT + reinterpret_cast<long>(Exchange), // NOLINT + reinterpret_cast<long>(Comparand))); // NOLINT } #endif |

