[clang] Introduce paged vector (PR #66430)

Vassil Vassilev via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 18 08:19:44 PDT 2023


================
@@ -7944,9 +7944,13 @@ void ASTReader::PrintStats() {
   std::fprintf(stderr, "*** AST File Statistics:\n");
 
   unsigned NumTypesLoaded =
-      TypesLoaded.size() - llvm::count(TypesLoaded, QualType());
+      TypesLoaded.size() - std::count(TypesLoaded.materialisedBegin(),
----------------
vgvassilev wrote:

Does the PagedVector not work with `llvm::count`?

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


More information about the cfe-commits mailing list