OSDN Git Service

IR: Use Optional instead of unique_ptr for debug info ODR type map, NFC
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 19 Apr 2016 16:06:50 +0000 (16:06 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 19 Apr 2016 16:06:50 +0000 (16:06 +0000)
commit75cc051139ab4e1a5d3177d81820cf3d7110cd0a
tree9185a415c34a1580fbef9a22dd9907cb20b15429
parent9507885b185f5f39b3d9e7167ee031355bdc16e5
IR: Use Optional instead of unique_ptr for debug info ODR type map, NFC

Save a level of malloc indirection.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@266749 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/LLVMContext.cpp
lib/IR/LLVMContextImpl.h