-Wdeprecated-clean: Fix cases of violating the rule of 5 in ways that are deprecated...
authorDavid Blaikie <dblaikie@gmail.com>
Mon, 3 Aug 2015 20:12:58 +0000 (20:12 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Mon, 3 Aug 2015 20:12:58 +0000 (20:12 +0000)
commit43247f1977398dda1964a38881a1a4aff9c17dfc
treee6707705f2251e31fa714b7ae50397feb0ec602f
parentafb53796b843fa9132789fed0b378d8e045f8c04
-Wdeprecated-clean: Fix cases of violating the rule of 5 in ways that are deprecated in C++11

Some functions return concrete ByteStreamers by value - explicitly
support that in the base class. (dtor can be virtual, no one seems to be
polymorphically owning/destroying them)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243897 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/ByteStreamer.h