commit | 06245bfb3ae40bb24a8bfb17eafeb266a4daf5ca | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Wed Apr 07 17:57:12 2010 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Wed Apr 07 17:57:12 2010 +0000 |
tree | b54ded0e960a2b8df3e3c66a2b2dfabdddb2baa8 | |
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