[Sema] Use unique_ptr instead of raw pointers in the late-parsed templates map.
authorJustin Lebar <jlebar@google.com>
Mon, 10 Oct 2016 16:26:08 +0000 (16:26 +0000)
committerJustin Lebar <jlebar@google.com>
Mon, 10 Oct 2016 16:26:08 +0000 (16:26 +0000)
commit28f09c50e2f0712c39438b4363361ada90726b39
treefde595734ed6bc062985a8c1ceab037cbe8e1a98
parent11091971567af8a1609a81082eb8cfafaa5d4bda
[Sema] Use unique_ptr instead of raw pointers in the late-parsed templates map.

Summary:
This is possible now that MapVector supports move-only values.

Depends on D25404.

Reviewers: timshen

Subscribers: cfe-commits

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

llvm-svn: 283766
clang/include/clang/Sema/ExternalSemaSource.h
clang/include/clang/Sema/MultiplexExternalSemaSource.h
clang/include/clang/Sema/Sema.h
clang/include/clang/Serialization/ASTReader.h
clang/lib/Sema/MultiplexExternalSemaSource.cpp
clang/lib/Sema/Sema.cpp
clang/lib/Sema/SemaTemplate.cpp
clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
clang/lib/Serialization/ASTReader.cpp
clang/lib/Serialization/ASTWriter.cpp