[llvm-commits] [compiler-rt] r171970 - /compiler-rt/trunk/lib/sanitizer_common/sanitizer_atomic_msvc.h
Timur Iskhodzhanov
timurrrr at google.com
Wed Jan 9 04:43:16 PST 2013
Author: timurrrr
Date: Wed Jan 9 06:43:16 2013
New Revision: 171970
URL: http://llvm.org/viewvc/llvm-project?rev=171970&view=rev
Log:
[ASan/Win] Satisfy lint
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_atomic_msvc.h
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_atomic_msvc.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_atomic_msvc.h?rev=171970&r1=171969&r2=171970&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_atomic_msvc.h (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_atomic_msvc.h Wed Jan 9 06:43:16 2013
@@ -34,9 +34,9 @@
// 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 @@
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
More information about the llvm-commits
mailing list