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

2016-10-10 Thread Justin Lebar via cfe-commits
jlebar closed this revision. jlebar added a comment. https://github.com/llvm-mirror/clang/commit/7c4b8c0a7921b999f5a73d6ba47ee8350676f747 https://reviews.llvm.org/D25420 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/c

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

2016-10-10 Thread Tim Shen via cfe-commits
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 MangleNumbering; +std::unique_ptr

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

2016-10-09 Thread Justin Lebar via cfe-commits
jlebar created this revision. jlebar added a reviewer: timshen. jlebar added a subscriber: cfe-commits. It doesn't need to be refcounted anymore, either. https://reviews.llvm.org/D25420 Files: clang/include/clang/AST/ASTContext.h clang/include/clang/AST/MangleNumberingContext.h clang/incl