[llvm] Inline operator== and operator!= (PR #67958)

Richard Smith via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 3 00:22:57 PDT 2023


================
@@ -209,36 +209,31 @@ template <typename T, size_t PageSize = 1024 / sizeof(T)> class PagedVector {
       return PagePtr[ElementIdx % PageSize];
     }
 
+    /// Equality operator.
     friend bool operator==(MaterializedIterator const &LHS,
----------------
zygoloid wrote:

While we're changing these: LLVM style is to use `const T &`, not `T const &`.

https://github.com/llvm/llvm-project/pull/67958


More information about the llvm-commits mailing list