diff options
Diffstat (limited to 'JavaScriptCore/wtf/Assertions.h')
-rw-r--r-- | JavaScriptCore/wtf/Assertions.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/JavaScriptCore/wtf/Assertions.h b/JavaScriptCore/wtf/Assertions.h index 74ea91c..8449563 100644 --- a/JavaScriptCore/wtf/Assertions.h +++ b/JavaScriptCore/wtf/Assertions.h @@ -1,4 +1,3 @@ -/* -*- mode: c++; c-basic-offset: 4 -*- */ /* * Copyright (C) 2003, 2006, 2007 Apple Inc. All rights reserved. * @@ -83,9 +82,9 @@ #define WTF_PRETTY_FUNCTION __FUNCTION__ #endif -// WTF logging functions can process %@ in the format string to log a NSObject* but the printf format attribute -// emits a warning when %@ is used in the format string. Until <rdar://problem/5195437> is resolved we can't include -// the attribute when being used from Objective-C code in case it decides to use %@. +/* WTF logging functions can process %@ in the format string to log a NSObject* but the printf format attribute + emits a warning when %@ is used in the format string. Until <rdar://problem/5195437> is resolved we can't include + the attribute when being used from Objective-C code in case it decides to use %@. */ #if COMPILER(GCC) && !defined(__OBJC__) #define WTF_ATTRIBUTE_PRINTF(formatStringArgument, extraArguments) __attribute__((__format__(printf, formatStringArgument, extraArguments))) #else @@ -154,7 +153,7 @@ while (0) CRASH(); \ } \ while (0) -#endif // COMPILER(MSVC7) +#endif /* COMPILER(MSVC7) */ #define ASSERT_NOT_REACHED() do { \ WTFReportAssertionFailure(__FILE__, __LINE__, WTF_PRETTY_FUNCTION, 0); \ CRASH(); \ @@ -229,4 +228,4 @@ while (0) #define LOG_VERBOSE(channel, ...) WTFLogVerbose(__FILE__, __LINE__, WTF_PRETTY_FUNCTION, &JOIN_LOG_CHANNEL_WITH_PREFIX(LOG_CHANNEL_PREFIX, channel), __VA_ARGS__) #endif -#endif // WTF_Assertions_h +#endif /* WTF_Assertions_h */ |