Fixes https://reviews.llvm.org/D59371, which broke the build for shared libraries.
Nope, it won't work. There is a cyclic dependency, unfortunately. clangTooling depends on clangToolingRefactor already. You need to revert your commit and refactor it to remove the cyclic dependency.