Attempt to fix the MSVC build by working around a layering issue
authorDavid Blaikie <dblaikie@gmail.com>
Sun, 18 Jan 2015 20:43:57 +0000 (20:43 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Sun, 18 Jan 2015 20:43:57 +0000 (20:43 +0000)
commitb619b7864c3fe6604a43aba796c3c7018c77c8d5
treebd502a85909cf0b2bd7adcc427d84a80a0346d2d
parent9459832ebddb79082b5437708f56fa5b9e6a975f
Attempt to fix the MSVC build by working around a layering issue

Since MCStreamer isn't part of Support, the dtor can't be called from
here - so just pass by reference instead. This is rather imperfect, but
will hopefully suffice.

llvm-svn: 226415
llvm/include/llvm/Support/TargetRegistry.h