]> granicus.if.org Git - clang/commit
Diagnose non-dependent qualified friend function template declarations
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 2 May 2019 00:49:05 +0000 (00:49 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 2 May 2019 00:49:05 +0000 (00:49 +0000)
commit2d77937455e8f133a9e4df562d91f40a97c59c8c
tree883f2206314d3e0a89c277b34fbb624ce763f58b
parent7a72a8bc72710febe64ee092f919514f3de6cf88
Diagnose non-dependent qualified friend function template declarations
that don't match any existing declaration. Don't get confused and treat
such declarations as template *specializations*.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@359746 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDecl.cpp
lib/Sema/SemaOverload.cpp
test/SemaCXX/friend-template-redecl.cpp
test/SemaCXX/lambda-expressions.cpp