From 45a818bea51affb5d222303c42c2c866330a74b9 Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Mon, 23 Aug 2010 23:16:25 +0000 Subject: [PATCH] Let FE use derived types for DW_TAG_friend. Patch by Alexander Herz! llvm-svn: 111861 --- lib/Analysis/DebugInfo.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Analysis/DebugInfo.cpp b/lib/Analysis/DebugInfo.cpp index c3800284291..5ca89c658df 100644 --- a/lib/Analysis/DebugInfo.cpp +++ b/lib/Analysis/DebugInfo.cpp @@ -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.