diff options
author | Haojian Wu <hokein@google.com> | 2017-06-27 08:31:27 +0000 |
---|---|---|
committer | Haojian Wu <hokein@google.com> | 2017-06-27 08:31:27 +0000 |
commit | 665494cada35b955de591c63e124febcbd2d975d (patch) | |
tree | 30638ce989cd6100f8dd053d0830ead76d552717 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h | |
parent | f31b0dc473c4b25ab6abf127c6c9a54a5c444b74 (diff) | |
download | bcm5719-llvm-665494cada35b955de591c63e124febcbd2d975d.tar.gz bcm5719-llvm-665494cada35b955de591c63e124febcbd2d975d.zip |
[clang-tidy] Fix type names in modernize-use-unique/shared_ptr checks.
Summary:
If the class being created in unique_ptr is in anonymous nampespace, the
anonymous namespace will be included in the apply-fixes. This patch fix
this.
```
namespace {
class Foo {};
}
std::unique_ptr<Foo> f;
f.reset(new Foo());
// Before the change: f = std::make_unique<(annonymous namespace)::Foo>();
// After the change: f = std::make_unique<Foo>();
```
Reviewers: alexfh
Reviewed By: alexfh
Subscribers: JDevlieghere, xazax.hun, cfe-commits
Differential Revision: https://reviews.llvm.org/D34286
llvm-svn: 306378
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h')
0 files changed, 0 insertions, 0 deletions