]> granicus.if.org Git - clang/commit
Modules: Clarify ownership of ModuleFile instances in ModuleManager, NFC
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Sat, 28 Jan 2017 22:24:01 +0000 (22:24 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Sat, 28 Jan 2017 22:24:01 +0000 (22:24 +0000)
commit13065c8802a87a7b5dbeee074f859e9c20f4c414
treebb6cae7e1a840adddb09c720ef58d8d09042a26d
parent5ee103da4d162eed0c558e81733f5260e75c3533
Modules: Clarify ownership of ModuleFile instances in ModuleManager, NFC

Use std::unique_ptr to clarify the ownership of the ModuleFile instances in
ModuleManager.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@293395 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Serialization/ModuleManager.h
lib/Serialization/ModuleManager.cpp