rtereshin added a comment. This is what I eventually came up with to reduce the number of such mistakes in the future: first: https://reviews.llvm.org/D46338 second: https://reviews.llvm.org/D46339 PTAL Repository: rL LLVM https://reviews.llvm.org/D44704