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)
commite6e3b369759b97735dc5726afa08f48b961b5550
tree2d568e54fd236e70ddf91cb0efce62c46aa7978e
parent341a7e245e7d503457ef6c294a021e8223268a4e
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226415 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/TargetRegistry.h