[IR] Remove some unnecessary cleanup in Module's dtor, and use a unique_ptr to simpli...
authorDavid Blaikie <dblaikie@gmail.com>
Sat, 18 Jan 2020 01:29:34 +0000 (17:29 -0800)
committerDavid Blaikie <dblaikie@gmail.com>
Sat, 18 Jan 2020 01:30:24 +0000 (17:30 -0800)
commit46ed93315fceec4c8c3cd3defada501a55eb96e2
tree0d36a9deb2e7ecdd07b9cd8466ea0249c3aa27ec
parentff171acf84204c03f67a46d16ef6adb1b83c4e9b
[IR] Remove some unnecessary cleanup in Module's dtor, and use a unique_ptr to simplify some

Follow on from D72812, based on Mehdi Amini's feedback.
llvm/include/llvm/IR/Module.h
llvm/lib/IR/Module.cpp