arphaman added a comment. The updated patch now makes clang warn every time it encounters this attribute in C++ mode. Would that be the desired behaviour? Repository: rL LLVM https://reviews.llvm.org/D25308