[clang] Avoid need for SLocEntryLoaded BitVector (PR #67960)

Jakub Kuderski via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 2 07:33:40 PDT 2023


================
@@ -103,6 +103,12 @@ template <typename T, size_t PageSize = 1024 / sizeof(T)> class PagedVector {
   /// Return the size of the vector.
   [[nodiscard]] size_t size() const { return Size; }
 
+  [[nodiscard]] bool isMaterialized(size_t Index) const {
----------------
kuhar wrote:

Could you add a documentation comment above? This is not a standard function found in most containers so it would be nice to introduce it properly.

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


More information about the cfe-commits mailing list