diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-04-07 17:57:12 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-04-07 17:57:12 +0000 |
commit | 06245bfb3ae40bb24a8bfb17eafeb266a4daf5ca (patch) | |
tree | b54ded0e960a2b8df3e3c66a2b2dfabdddb2baa8 /test/ASTMerge/function.c | |
parent | 1d8693580133d6c783b9a56808e61f98005e0be1 (diff) |
Improve handling of friend types in several ways:
- When instantiating a friend type template, perform semantic
analysis on the resulting type.
- Downgrade the errors concerning friend type declarations that do
not refer to classes to ExtWarns in C++98/03. C++0x allows
practically any type to be befriended, and ignores the friend
declaration if the type is not a class.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100635 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/ASTMerge/function.c')
0 files changed, 0 insertions, 0 deletions