mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-10-20 22:30:27 +08:00
Just run clang format (#1025)
This commit is contained in:
@@ -203,7 +203,8 @@ public:
|
||||
static Value const& nullSingleton();
|
||||
|
||||
/// Minimum signed integer value that can be stored in a Json::Value.
|
||||
static constexpr LargestInt minLargestInt = LargestInt(~(LargestUInt(-1) / 2));
|
||||
static constexpr LargestInt minLargestInt =
|
||||
LargestInt(~(LargestUInt(-1) / 2));
|
||||
/// Maximum signed integer value that can be stored in a Json::Value.
|
||||
static constexpr LargestInt maxLargestInt = LargestInt(LargestUInt(-1) / 2);
|
||||
/// Maximum unsigned integer value that can be stored in a Json::Value.
|
||||
@@ -566,8 +567,8 @@ public:
|
||||
//# endif
|
||||
|
||||
/// \deprecated Always pass len.
|
||||
[[deprecated("Use setComment(String const&) instead.")]]
|
||||
void setComment(const char* comment, CommentPlacement placement) {
|
||||
[[deprecated("Use setComment(String const&) instead.")]] void
|
||||
setComment(const char* comment, CommentPlacement placement) {
|
||||
setComment(String(comment, strlen(comment)), placement);
|
||||
}
|
||||
/// Comments must be //... or /* ... */
|
||||
@@ -752,8 +753,7 @@ public:
|
||||
/// objectValue.
|
||||
/// \deprecated This cannot be used for UTF-8 strings, since there can be
|
||||
/// embedded nulls.
|
||||
[[deprecated("Use `key = name();` instead.")]]
|
||||
char const* memberName() const;
|
||||
[[deprecated("Use `key = name();` instead.")]] char const* memberName() const;
|
||||
/// Return the member name of the referenced Value, or NULL if it is not an
|
||||
/// objectValue.
|
||||
/// \note Better version than memberName(). Allows embedded nulls.
|
||||
|
Reference in New Issue
Block a user