Skip to content
Commit 8e666510 authored by Chandler Carruth's avatar Chandler Carruth
Browse files

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.

llvm-svn: 122763
parent 9a7d57d5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment