[PATCH] D25420: [AST] Convert MangleNumberingContext to a unique_ptr.

Tim Shen via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 10 01:51:31 PDT 2016


timshen accepted this revision.
timshen added inline comments.
This revision is now accepted and ready to land.


================
Comment at: clang/include/clang/Sema/Sema.h:879
     /// do not have lambda expressions or block literals.
-    IntrusiveRefCntPtr<MangleNumberingContext> MangleNumbering;
+    std::unique_ptr<MangleNumberingContext> MangleNumbering;
 
----------------
Wait, what? 

This is awesome. :)


https://reviews.llvm.org/D25420





More information about the cfe-commits mailing list