Apply clang-format to folly/experimental/exception_tracer/ (headers)
authorYedidya Feldblum <yfeldblum@fb.com>
Fri, 9 Jun 2017 03:59:50 +0000 (20:59 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Fri, 9 Jun 2017 04:07:56 +0000 (21:07 -0700)
Summary:
[Folly] Apply `clang-format` to `folly/experimental/exception_tracer/` (headers).

With some manual rearrangement in the places where `clang-format` does awkward things, with the result that `clang-format` over the listed directory becomes a no-op.

Reviewed By: Orvid

Differential Revision: D5215212

fbshipit-source-id: 5570f02c238b1874adbc2ff4150f465c947ad0e6

folly/experimental/exception_tracer/ExceptionCounterLib.cpp
folly/experimental/exception_tracer/ExceptionCounterLib.h
folly/experimental/exception_tracer/ExceptionStackTraceLib.cpp
folly/experimental/exception_tracer/ExceptionTracer.cpp
folly/experimental/exception_tracer/ExceptionTracerLib.h
folly/experimental/exception_tracer/StackTrace.cpp
folly/experimental/exception_tracer/test/ExceptionCounterTest.cpp

index a99e3c0..05e307d 100644 (file)
@@ -19,8 +19,8 @@
 #include <iosfwd>
 #include <unordered_map>
 
-#include <folly/Range.h>
 #include <folly/RWSpinLock.h>
+#include <folly/Range.h>
 #include <folly/SpookyHashV2.h>
 #include <folly/Synchronized.h>
 #include <folly/ThreadLocal.h>
index 03ef95e..87af3df 100644 (file)
@@ -16,8 +16,8 @@
 
 #pragma once
 
-#include <vector>
 #include <ostream>
+#include <vector>
 
 #include <folly/experimental/exception_tracer/ExceptionTracer.h>
 
index 14f8be4..167cd40 100644 (file)
@@ -17,9 +17,9 @@
 #include <exception>
 
 #include <folly/experimental/exception_tracer/ExceptionAbi.h>
-#include <folly/experimental/exception_tracer/StackTrace.h>
 #include <folly/experimental/exception_tracer/ExceptionTracer.h>
 #include <folly/experimental/exception_tracer/ExceptionTracerLib.h>
+#include <folly/experimental/exception_tracer/StackTrace.h>
 #include <folly/experimental/symbolizer/Symbolizer.h>
 
 using namespace folly::exception_tracer;
index 2c6e109..da0b72d 100644 (file)
 
 #include <folly/experimental/exception_tracer/ExceptionTracer.h>
 
-#include <dlfcn.h>
 #include <exception>
 #include <iostream>
+
+#include <dlfcn.h>
+
 #include <glog/logging.h>
 
+#include <folly/String.h>
 #include <folly/experimental/exception_tracer/ExceptionAbi.h>
 #include <folly/experimental/exception_tracer/StackTrace.h>
 #include <folly/experimental/symbolizer/Symbolizer.h>
-#include <folly/String.h>
 
 namespace {
 
index f8ea061..263dc5e 100644 (file)
@@ -16,8 +16,8 @@
 
 #pragma once
 
-#include <typeinfo>
 #include <exception>
+#include <typeinfo>
 
 namespace folly {
 namespace exception_tracer {
index d13917a..afa5dc1 100644 (file)
@@ -19,6 +19,7 @@
 #include <cassert>
 #include <cstdlib>
 #include <new>
+
 #include <folly/experimental/symbolizer/StackTrace.h>
 
 namespace folly { namespace exception_tracer {
index 24718be..93f464e 100644 (file)
  * limitations under the License.
  */
 
-#include <stdexcept>
-#include <thread>
-#include <mutex>
 #include <condition_variable>
+#include <mutex>
 #include <sstream>
+#include <stdexcept>
+#include <thread>
 
 #include <folly/experimental/exception_tracer/ExceptionCounterLib.h>
 #include <folly/portability/GTest.h>