diff options
author | John McCall <rjmccall@apple.com> | 2010-09-03 04:56:05 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-09-03 04:56:05 +0000 |
commit | fe24e05a87e48fa3318b65d1a92c542107639fd9 (patch) | |
tree | 5afaecfcdd231fc82120cf2ae7ec56ee8a5187d0 /lib/Lex/Preprocessor.cpp | |
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
Diffstat (limited to 'lib/Lex/Preprocessor.cpp')
0 files changed, 0 insertions, 0 deletions