Apply clang-format to folly/tracing/
authorYedidya Feldblum <yfeldblum@fb.com>
Fri, 21 Jul 2017 02:29:51 +0000 (19:29 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Fri, 21 Jul 2017 02:38:20 +0000 (19:38 -0700)
Summary: [Folly] Apply `clang-format` to `folly/tracing/`.

Reviewed By: Orvid

Differential Revision: D5460511

fbshipit-source-id: c7a7d34211044a1b76934f184a8552a96d0bad91

folly/tracing/StaticTracepoint-ELFx86.h
folly/tracing/StaticTracepoint.h

index 6d35be76cb92fdc5d70da5a3eb16771f017116a3..76c1cd863ff41e729f801ed69705d612fb34ba3c 100644 (file)
@@ -16,6 +16,8 @@
 
 #pragma once
 
+// clang-format off
+
 // Default constraint for the probe arguments as operands.
 #ifndef FOLLY_SDT_ARG_CONSTRAINT
 #define FOLLY_SDT_ARG_CONSTRAINT      "nor"
index 6b37db6727880603026a8bf298aa4314a3b2765e..8e06f9287f46a20e311de0decfe5b1e4342c04e2 100644 (file)
 #if defined(__ELF__) && (defined(__x86_64__) || defined(__i386__))
 #include <folly/tracing/StaticTracepoint-ELFx86.h>
 
-#define FOLLY_SDT(provider, name, ...)                                         \
-  FOLLY_SDT_PROBE_N(                                                           \
-    provider, name, FOLLY_SDT_NARG(0, ##__VA_ARGS__), ##__VA_ARGS__)
+#define FOLLY_SDT(provider, name, ...) \
+  FOLLY_SDT_PROBE_N(                   \
+      provider, name, FOLLY_SDT_NARG(0, ##__VA_ARGS__), ##__VA_ARGS__)
 #else
-#define FOLLY_SDT(provider, name, ...) do {} while(0)
+#define FOLLY_SDT(provider, name, ...) \
+  do {                                 \
+  } while (0)
 #endif