[llvm] [Support] Simplify Object::operator== (NFC) (PR #157311)
Jakub Kuderski via llvm-commits
llvm-commits at lists.llvm.org
Sun Sep 7 10:27:18 PDT 2025
================
@@ -153,6 +153,8 @@ class Object {
LLVM_ABI json::Object *getObject(StringRef K);
LLVM_ABI const json::Array *getArray(StringRef K) const;
LLVM_ABI json::Array *getArray(StringRef K);
+
+ friend bool operator==(const Object &LHS, const Object &RHS);
----------------
kuhar wrote:
This seems simple enough that we could define it inline, no?
https://github.com/llvm/llvm-project/pull/157311
More information about the llvm-commits
mailing list