[PATCH] D94440: [ADT] Add makeIntrusiveRefCnt helper function

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 11 12:07:49 PST 2021


MaskRay accepted this revision.
MaskRay added a comment.

Looks great!



================
Comment at: llvm/include/llvm/ADT/IntrusiveRefCntPtr.h:300
 
+/// Factory function for creating smart ref counted pointers.
+template <typename T, typename... Args>
----------------
s/smart/intrusive/.

Though I guess "smart ref counted pointers" can just be omitted.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D94440/new/

https://reviews.llvm.org/D94440



More information about the llvm-commits mailing list