]> granicus.if.org Git - clang/commit
[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)
commit1f062cda84f537547021640c8bcd9c589c418d96
treeede9100d37c0cfa3f90938169e90af643e62b7ff
parent46257d7ee4fb768cae24e781beaa4afbc225be32
[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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@283766 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/ExternalSemaSource.h
include/clang/Sema/MultiplexExternalSemaSource.h
include/clang/Sema/Sema.h
include/clang/Serialization/ASTReader.h
lib/Sema/MultiplexExternalSemaSource.cpp
lib/Sema/Sema.cpp
lib/Sema/SemaTemplate.cpp
lib/Sema/SemaTemplateInstantiateDecl.cpp
lib/Serialization/ASTReader.cpp
lib/Serialization/ASTWriter.cpp