From: Devang Patel Date: Mon, 23 Aug 2010 23:16:25 +0000 (+0000) Subject: Let FE use derived types for DW_TAG_friend. X-Git-Tag: android-x86-6.0-r1~1003^2~3281 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=49d96380753c8cb93181a5662ed60dbf6034ee67;p=android-x86%2Fexternal-llvm.git Let FE use derived types for DW_TAG_friend. Patch by Alexander Herz! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111861 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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.