Fix ExplicitConstructorCheck to warn only on in-class declarations.
authorAlexander Kornienko <alexfh@google.com>
Thu, 13 Feb 2014 10:11:48 +0000 (10:11 +0000)
committerAlexander Kornienko <alexfh@google.com>
Thu, 13 Feb 2014 10:11:48 +0000 (10:11 +0000)
commit32eaa37b15857987d7b26fe3dad939db24465690
tree4bf37bbb63d3eb3c69ed77d1cc2f78695a18c1f8
parentc4b4924a13293c2ddd299a2eed7dc9c6479715d5
Fix ExplicitConstructorCheck to warn only on in-class declarations.

Summary:
I'm not absolutely sure this is 100% correct solution, but it seems to
do what I expect.

Reviewers: djasper, klimek

Reviewed By: djasper

CC: cfe-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D2756

llvm-svn: 201308
clang-tools-extra/clang-tidy/google/GoogleTidyModule.cpp
clang-tools-extra/unittests/clang-tidy/GoogleModuleTest.cpp