Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions llvm/include/llvm/Support/JSON.h
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ class Array {
iterator insert(const_iterator P, Value &&E);
template <typename It> iterator insert(const_iterator P, It A, It Z);
template <typename... Args> iterator emplace(const_iterator P, Args &&...A);
iterator erase(const_iterator P);

friend bool operator==(const Array &L, const Array &R);
};
Expand Down Expand Up @@ -579,6 +580,7 @@ template <typename... Args>
inline Array::iterator Array::emplace(const_iterator P, Args &&...A) {
return V.emplace(P, std::forward<Args>(A)...);
}
inline Array::iterator Array::erase(const_iterator P) { return V.erase(P); }
inline bool operator==(const Array &L, const Array &R) { return L.V == R.V; }

/// ObjectKey is a used to capture keys in Object. Like Value but:
Expand Down