Let FE use derived types for DW_TAG_friend.

Patch by Alexander Herz!

llvm-svn: 111861
This commit is contained in:
Devang Patel 2010-08-23 23:16:25 +00:00
parent 2f01adebca
commit 45a818bea5

View File

@ -135,6 +135,7 @@ bool DIDescriptor::isDerivedType() const {
case dwarf::DW_TAG_restrict_type:
case dwarf::DW_TAG_member:
case dwarf::DW_TAG_inheritance:
case dwarf::DW_TAG_friend:
return true;
default:
// CompositeTypes are currently modelled as DerivedTypes.