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 | 3b4abb67921126aefbf67d15bd6cdb7aa7cf47ff (patch) | |
tree | fb16eb70f22a9eed18042aa5b6c548a5510c5474 /llvm/lib/CodeGen/MachineInstr.cpp | |
parent | afb9bc10fabd606d6b34a652886ec7f9a76a6cd9 (diff) | |
download | llvm-3b4abb67921126aefbf67d15bd6cdb7aa7cf47ff.zip llvm-3b4abb67921126aefbf67d15bd6cdb7aa7cf47ff.tar.gz llvm-3b4abb67921126aefbf67d15bd6cdb7aa7cf47ff.tar.bz2 |
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.
llvm-svn: 100635
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions