llvm::PagedVector::capacity

Return the capacity of the vector. I.e. the maximum size it can be expanded to with the resize method without allocating more pages.

Synopsis

Declared in <llvm/ADT/PagedVector.h>

[[nodiscard]]
size_t
capacity() const;

Return Value

Maximum size reachable via resize without allocating more pages.

NOTE

The return value should not be discarded.