commit | ef9d09c4699a2a61d6f28b59b7583b2b28c0a531 | [log] [tgz] |
---|---|---|
author | Chandler Carruth <chandlerc@gmail.com> | Mon Jan 03 19:27:19 2011 +0000 |
committer | Chandler Carruth <chandlerc@gmail.com> | Mon Jan 03 19:27:19 2011 +0000 |
tree | fde31652f8f2000b67810a0b7fdbafacf222cea4 | |
parent | f96bdf409fc9e5570e35aaf8a9167265e63d58d8 [diff] |
Fix PR8841 by checking for both semantic and lecical dependent contexts. This prevents -Wunused-function from firing on friend function definitions inside of class templates for example. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122763 91177308-0d34-0410-b5e6-96231b3b80d8