[clang-tidy] google-explicit-constructor: don't match in template instantiations
authorAlexander Kornienko <alexfh@google.com>
Sun, 30 Nov 2014 19:41:41 +0000 (19:41 +0000)
committerAlexander Kornienko <alexfh@google.com>
Sun, 30 Nov 2014 19:41:41 +0000 (19:41 +0000)
commitad5074df0c1b9dfce7ff7094ca2b7ec7d4b2167f
tree65859833e14ff364dc49494c396ef7c3cab39faf
parent7432a64dcb0abf5282cb82420b0dd47db28facde
[clang-tidy] google-explicit-constructor: don't match in template instantiations

This helps avoiding false positives related to the recently added
std::initializer_list<> handling.

llvm-svn: 222981
clang-tools-extra/clang-tidy/google/ExplicitConstructorCheck.cpp
clang-tools-extra/test/clang-tidy/google-explicit-constructor.cpp