]> granicus.if.org Git - clang/commit
Do not diagnose unused-parameter errors in template instantiations. We
authorDouglas Gregor <dgregor@apple.com>
Mon, 19 Apr 2010 23:56:20 +0000 (23:56 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 19 Apr 2010 23:56:20 +0000 (23:56 +0000)
commitc077e45fa9395c4fd97d8a43c708ee07f982fe2c
tree74c9ea708d0adcf9cc40fa97888f70064ac4070b
parent16573fa9705b546b7597c273b25b85d6321e2b33
Do not diagnose unused-parameter errors in template instantiations. We
will already have done so when the template is declared.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@101838 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/Sema.h
test/SemaCXX/warn-unused-parameters.cpp [new file with mode: 0644]