]> granicus.if.org Git - clang/commit
Fix PR10168: don't warn for unused non-dependent variables in both the template defin...
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 21 Jun 2011 23:42:09 +0000 (23:42 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 21 Jun 2011 23:42:09 +0000 (23:42 +0000)
commite3499cae8e5323ac553ad56977bf1cd42b9a5a35
treeb765e3dcfd1e84cd2c6f544a1794b526e88409fe
parent0894976ba1384a34357e333846adedc6a42334fd
Fix PR10168: don't warn for unused non-dependent variables in both the template definition and each instantiation.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133580 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaTemplateInstantiateDecl.cpp
test/SemaCXX/for-range-unused.cpp
test/SemaCXX/warn-unused-variables.cpp