commit | fe24e05a87e48fa3318b65d1a92c542107639fd9 | [log] [tgz] |
---|---|---|
author | John McCall <rjmccall@apple.com> | Fri Sep 03 04:56:05 2010 +0000 |
committer | John McCall <rjmccall@apple.com> | Fri Sep 03 04:56:05 2010 +0000 |
tree | 5afaecfcdd231fc82120cf2ae7ec56ee8a5187d0 | |
parent | fae962200efef618d1c24c14b9c3fed25876f059 [diff] |
Add a quick-and-dirty hack to give a better diagnostic for [class.protected] restrictions. The note's not really on the right place given its wording, but putting a second note on the call site (or muddying the wording) doesn't appeal. There are corner cases where this can be wrong, but I'm not concerned. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112950 91177308-0d34-0410-b5e6-96231b3b80d8