[PATCH] D53389: [clangd] Clear the semantic of RefSlab::size.

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 18 03:30:02 PDT 2018


sammccall added a comment.

Adding numRefs() and fixing occurrences makes sense.
However I think `size()` needs to stay - it's an important part of the "container" concept, and e.g. GTest relies on it.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D53389





More information about the cfe-commits mailing list