LGTM The patch isn't displaying correctly, but the combination of the diffs looks good. A good followup would be to wire this through Clang's CodeGenOptions. http://reviews.llvm.org/D3417