HomePhabricator

Do not dereference std::unique_ptr by default

Description

Do not dereference std::unique_ptr by default

Summary:
Displaying the object pointed by the unique_ptr can cause an infinite
recursion when we have a pointer loop so this change stops that
behavior. Additionally it makes the unique_ptr act more like a class
containing a pointer (what is the underlying truth) instead of some
"magic" class.

Reviewers: labath, jingham

Differential Revision: https://reviews.llvm.org/D31366

Details

Committed
tberghammerMar 31 2017, 1:07 PM
Differential Revision
D31366: Do not dereference std::unique_ptr by default
Branches
Unknown
Tags
Unknown