dblaikie accepted this revision. dblaikie added a comment. This revision is now accepted and ready to land. Looks good to me - thanks! (I'd probably just include one of those two tests - not like the test new/unique/separate codepaths really, but I'm not too fussed) http://reviews.llvm.org/D17311