Run clang format
Clang format hasn't been run on some recent checkins. This patch updates
the repository with clang format properly run on all files.
diff --git a/include/json/config.h b/include/json/config.h
index cba6102..eca9e8c 100644
--- a/include/json/config.h
+++ b/include/json/config.h
@@ -108,8 +108,9 @@
#define JSONCPP_DEPRECATED(message) __attribute__((deprecated(message)))
#elif (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1))
#define JSONCPP_DEPRECATED(message) __attribute__((__deprecated__))
-#endif // GNUC version
-#elif defined(_MSC_VER) // MSVC (after clang because clang on Windows emulates MSVC)
+#endif // GNUC version
+#elif defined(_MSC_VER) // MSVC (after clang because clang on Windows emulates
+ // MSVC)
#define JSONCPP_DEPRECATED(message) __declspec(deprecated(message))
#endif // __clang__ || __GNUC__ || _MSC_VER
diff --git a/include/json/value.h b/include/json/value.h
index 06d89ae..59bae07 100644
--- a/include/json/value.h
+++ b/include/json/value.h
@@ -612,7 +612,9 @@
ptrdiff_t getOffsetLimit() const;
private:
- void setType(ValueType v) { bits_.value_type_ = static_cast<unsigned char> (v); }
+ void setType(ValueType v) {
+ bits_.value_type_ = static_cast<unsigned char>(v);
+ }
bool isAllocated() const { return bits_.allocated_; }
void setIsAllocated(bool v) { bits_.allocated_ = v; }