diff options
author | Devang Patel <dpatel@apple.com> | 2010-08-23 23:16:25 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2010-08-23 23:16:25 +0000 |
commit | 49d96380753c8cb93181a5662ed60dbf6034ee67 (patch) | |
tree | b364d5146fc7beedd07194d1958e8dcd8a98bbcf /lib/Analysis/DebugInfo.cpp | |
parent | 8654c71e56cd1f21f71bfce7eecb7373242663ff (diff) |
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
Diffstat (limited to 'lib/Analysis/DebugInfo.cpp')
-rw-r--r-- | lib/Analysis/DebugInfo.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Analysis/DebugInfo.cpp b/lib/Analysis/DebugInfo.cpp index c380028429..5ca89c658d 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. |