]> granicus.if.org Git - clang/commit
Teach the warning about unnamed/local types in template arguments to
authorDouglas Gregor <dgregor@apple.com>
Wed, 13 Oct 2010 00:27:52 +0000 (00:27 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 13 Oct 2010 00:27:52 +0000 (00:27 +0000)
commit5f3aeb6f8b1e1cc00015407ef6886429f9b7fb78
treed57d221dba6317745e16ad2a5d98f4eeccfc1387
parent9b623639378d53a675921ddfa7316034d571881e
Teach the warning about unnamed/local types in template arguments to
actually walk the template argument type to find any unnamed/local
types within it. Fixes PR6784.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116382 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaOverload.cpp
lib/Sema/SemaTemplate.cpp
lib/Sema/SemaTemplateInstantiate.cpp
test/CXX/temp/temp.arg/temp.arg.type/p2.cpp