[Sema] Fix overloaded static functions for templates
authorIvan Donchevskii <ivan.donchevskii@qt.io>
Thu, 21 Jun 2018 08:34:50 +0000 (08:34 +0000)
committerIvan Donchevskii <ivan.donchevskii@qt.io>
Thu, 21 Jun 2018 08:34:50 +0000 (08:34 +0000)
commitf83cfda02bd06d3cc76db4abb7750b960bc94628
tree575347ac7d142de4688b26e2582a3432febfa36b
parenta465188500672de18918b8c5c36366622429a5ce
[Sema] Fix overloaded static functions for templates

Apply almost the same fix as https://reviews.llvm.org/D36390 but for templates.

Differential Revision: https://reviews.llvm.org/D43453

llvm-svn: 335211
clang/lib/Sema/SemaOverload.cpp
clang/test/Index/complete-call.cpp