[ASan/Win] Satisfy lint

llvm-svn: 171970
This commit is contained in:
Timur Iskhodzhanov 2013-01-09 12:43:16 +00:00
parent 6313f780e1
commit 1d1f74cbf5
1 changed files with 6 additions and 6 deletions

View File

@ -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