Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(144)

Unified Diff: third_party/WebKit/Source/wtf/Compiler.h

Issue 1436153002: Apply clang-format with Chromium-style without column limit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/wtf/Compiler.h
diff --git a/third_party/WebKit/Source/wtf/Compiler.h b/third_party/WebKit/Source/wtf/Compiler.h
index 6fb5ad541e730bdceafcba2adbf218917249f8b1..c64dbbd3d8f6cd4a8cc8d9cfa891c77e80216f58 100644
--- a/third_party/WebKit/Source/wtf/Compiler.h
+++ b/third_party/WebKit/Source/wtf/Compiler.h
@@ -27,13 +27,13 @@
#define WTF_Compiler_h
/* COMPILER() - the compiler being used to build the project */
-#define COMPILER(WTF_FEATURE) (defined WTF_COMPILER_##WTF_FEATURE && WTF_COMPILER_##WTF_FEATURE)
+#define COMPILER(WTF_FEATURE) (defined WTF_COMPILER_##WTF_FEATURE && WTF_COMPILER_##WTF_FEATURE)
/* COMPILER_SUPPORTS() - whether the compiler being used to build the project supports the given feature. */
-#define COMPILER_SUPPORTS(WTF_COMPILER_FEATURE) (defined WTF_COMPILER_SUPPORTS_##WTF_COMPILER_FEATURE && WTF_COMPILER_SUPPORTS_##WTF_COMPILER_FEATURE)
+#define COMPILER_SUPPORTS(WTF_COMPILER_FEATURE) (defined WTF_COMPILER_SUPPORTS_##WTF_COMPILER_FEATURE && WTF_COMPILER_SUPPORTS_##WTF_COMPILER_FEATURE)
/* COMPILER_QUIRK() - whether the compiler being used to build the project requires a given quirk. */
-#define COMPILER_QUIRK(WTF_COMPILER_QUIRK) (defined WTF_COMPILER_QUIRK_##WTF_COMPILER_QUIRK && WTF_COMPILER_QUIRK_##WTF_COMPILER_QUIRK)
+#define COMPILER_QUIRK(WTF_COMPILER_QUIRK) (defined WTF_COMPILER_QUIRK_##WTF_COMPILER_QUIRK && WTF_COMPILER_QUIRK_##WTF_COMPILER_QUIRK)
/* ==== COMPILER() - the compiler being used to build the project ==== */
@@ -59,7 +59,6 @@
/* ==== Compiler features ==== */
-
/* ALWAYS_INLINE */
#ifndef ALWAYS_INLINE
@@ -72,7 +71,6 @@
#endif
#endif
-
/* NEVER_INLINE */
#ifndef NEVER_INLINE
@@ -85,7 +83,6 @@
#endif
#endif
-
/* UNLIKELY */
#ifndef UNLIKELY
@@ -96,7 +93,6 @@
#endif
#endif
-
/* LIKELY */
#ifndef LIKELY
@@ -107,7 +103,6 @@
#endif
#endif
-
/* NO_RETURN */
#ifndef NO_RETURN
@@ -120,21 +115,18 @@
#endif
#endif
-
/* WARN_UNUSED_RETURN */
#if COMPILER(GCC)
-#define WARN_UNUSED_RETURN __attribute__ ((warn_unused_result))
+#define WARN_UNUSED_RETURN __attribute__((warn_unused_result))
#else
#define WARN_UNUSED_RETURN
#endif
-
/* ALLOW_UNUSED_LOCAL */
#define ALLOW_UNUSED_LOCAL(x) false ? (void)x : (void)0
-
/* OBJC_CLASS */
#ifndef OBJC_CLASS
@@ -145,7 +137,6 @@
#endif
#endif
-
/* WTF_PRETTY_FUNCTION */
#if COMPILER(GCC)
@@ -158,7 +149,6 @@
#define WTF_PRETTY_FUNCTION __FUNCTION__
#endif
-
/* NO_SANITIZE_UNRELATED_CAST - Disable runtime checks related to casts between
* unrelated objects (-fsanitize=cfi-unrelated-cast or -fsanitize=vptr). */
« no previous file with comments | « third_party/WebKit/Source/wtf/CheckedArithmeticTest.cpp ('k') | third_party/WebKit/Source/wtf/ConditionalDestructor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698