[clang-tidy] Fix a false positive in the make_pair checker if an argument has a expli...
authorBenjamin Kramer <benny.kra@googlemail.com>
Mon, 21 Jul 2014 09:40:52 +0000 (09:40 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Mon, 21 Jul 2014 09:40:52 +0000 (09:40 +0000)
commitddf36dea135db24d073acd8dbc1251dc798624bb
tree2eb051e5a123ce1640bb0c518266ed0642f5cd0c
parentefd14a62a3cd07861e0810ed04bb28b8bae2c25d
[clang-tidy] Fix a false positive in the make_pair checker if an argument has a explicit template argument.

This required a rather ugly workaround for a problem in ASTMatchers where
callee() is only overloaded for Stmt and Decl but not for Expr.

llvm-svn: 213509
clang-tools-extra/clang-tidy/google/ExplicitMakePairCheck.cpp
clang-tools-extra/test/clang-tidy/google-explicit-make-pair.cpp