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

Unified Diff: third_party/numerics/safe_math.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/numerics/safe_math.h
diff --git a/third_party/numerics/safe_math.h b/third_party/numerics/safe_math.h
index 4b38ff2b1f018cb300377cfe12679e12330f0d84..13e24fc924a96aef0a9da0b7db62cf66069715f7 100644
--- a/third_party/numerics/safe_math.h
+++ b/third_party/numerics/safe_math.h
@@ -110,11 +110,16 @@ class CheckedNumeric {
T ValueUnsafe() const { return state_.value(); }
// Prototypes for the supported arithmetic operator overloads.
- template <typename Src> CheckedNumeric& operator+=(Src rhs);
- template <typename Src> CheckedNumeric& operator-=(Src rhs);
- template <typename Src> CheckedNumeric& operator*=(Src rhs);
- template <typename Src> CheckedNumeric& operator/=(Src rhs);
- template <typename Src> CheckedNumeric& operator%=(Src rhs);
+ template <typename Src>
+ CheckedNumeric& operator+=(Src rhs);
+ template <typename Src>
+ CheckedNumeric& operator-=(Src rhs);
+ template <typename Src>
+ CheckedNumeric& operator*=(Src rhs);
+ template <typename Src>
+ CheckedNumeric& operator/=(Src rhs);
+ template <typename Src>
+ CheckedNumeric& operator%=(Src rhs);
CheckedNumeric operator-() const {
RangeConstraint validity;

Powered by Google App Engine
This is Rietveld 408576698