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

Unified Diff: third_party/template_util.h

Issue 453133004: clang-format all code (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 6 years, 4 months 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/template_util.h
diff --git a/third_party/template_util.h b/third_party/template_util.h
index d4508dd6961326295f1c4b275c2180a3334b98c0..691df47d778b063663f42c8add4b6bbe9ff5a82d 100644
--- a/third_party/template_util.h
+++ b/third_party/template_util.h
@@ -9,7 +9,7 @@
namespace base {
-template<class T, T v>
+template <class T, T v>
struct integral_constant {
static const T value = v;
typedef T value_type;
@@ -19,14 +19,18 @@ struct integral_constant {
typedef integral_constant<bool, true> true_type;
typedef integral_constant<bool, false> false_type;
-template <class T, class U> struct is_same : public false_type {};
-template <class T> struct is_same<T,T> : true_type {};
+template <class T, class U>
+struct is_same : public false_type {};
+template <class T>
+struct is_same<T, T> : true_type {};
-template<bool B, class T = void>
+template <bool B, class T = void>
struct enable_if {};
-template<class T>
-struct enable_if<true, T> { typedef T type; };
+template <class T>
+struct enable_if<true, T> {
+ typedef T type;
+};
} // namespace base
« core/src/fdrm/crypto/fx_crypt_aes.cpp ('K') | « third_party/numerics/safe_math_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698