aaron.ballman added a comment. As an FYI, there is a related check being implemented in clang currently; we probably should not duplicate this effort. See https://reviews.llvm.org/D33333. https://reviews.llvm.org/D19201