LGTM. (you may also want to do something about the naked new/delete in the programmer's manual (that you pointed out in IRC) in a separate patch) http://llvm-reviews.chandlerc.com/D313