diff options
author | Daniel Jasper <djasper@google.com> | 2015-07-22 17:30:35 +0000 |
---|---|---|
committer | Daniel Jasper <djasper@google.com> | 2015-07-22 17:30:35 +0000 |
commit | 9b46e9c5de19f91c4b6b8b1d3405875c48190aac (patch) | |
tree | b2e9e12f77e4ad64909eb0c78562c4a930095a8a /lldb/tools/debugserver/source/DNBDataRef.cpp | |
parent | 2c674d347e067b865390db50cafd035ad2c5f4c7 (diff) | |
download | bcm5719-llvm-9b46e9c5de19f91c4b6b8b1d3405875c48190aac.tar.gz bcm5719-llvm-9b46e9c5de19f91c4b6b8b1d3405875c48190aac.zip |
misc-unused-parameters: Fix handling of parameters in template functions.
The parameters of the function templates were being marked as
incorrectly be marked as unused. Added a test for this and changed the
check to use the same
isReferenced() || !getDeclName()
logic as Sema::DiagnoseUnusedParameters.
Patch Scott Wallace, thank you!
llvm-svn: 242912
Diffstat (limited to 'lldb/tools/debugserver/source/DNBDataRef.cpp')
0 files changed, 0 insertions, 0 deletions