Verify assign operator signatures.
authorSamuel Benzaquen <sbenza@google.com>
Mon, 9 Feb 2015 17:50:40 +0000 (17:50 +0000)
committerSamuel Benzaquen <sbenza@google.com>
Mon, 9 Feb 2015 17:50:40 +0000 (17:50 +0000)
commitb5cbe0100f4e29f67999618622f3786ff98cd533
treea9b840fa4468d56657f79d25eff304b44fd37d38
parent3f308ab127e068f6f4f43afa8f09d971b7bc6d83
Verify assign operator signatures.

Summary: Warn when the return type of assign operators is not Class&.

Reviewers: alexfh

Subscribers: cfe-commits

Differential Revision: http://reviews.llvm.org/D6667

llvm-svn: 228583
clang-tools-extra/clang-tidy/misc/AssignOperatorSignatureCheck.cpp [new file with mode: 0644]
clang-tools-extra/clang-tidy/misc/AssignOperatorSignatureCheck.h [new file with mode: 0644]
clang-tools-extra/clang-tidy/misc/CMakeLists.txt
clang-tools-extra/clang-tidy/misc/MiscTidyModule.cpp
clang-tools-extra/test/clang-tidy/misc-assign-operator-signature.cpp [new file with mode: 0644]