summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2010-08-23 23:16:25 +0000
committerDevang Patel <dpatel@apple.com>2010-08-23 23:16:25 +0000
commitdd719f701d4944f361e999ef0a31f369192e7443 (patch)
tree5980e2b87a2613646b35df5acc16191d13e8eaf3 /llvm/lib/Analysis
parent414501c511ccd0dd9bce4c94eedd5eb3efdbd142 (diff)
downloadbcm5719-llvm-dd719f701d4944f361e999ef0a31f369192e7443.tar.gz
bcm5719-llvm-dd719f701d4944f361e999ef0a31f369192e7443.zip
Let FE use derived types for DW_TAG_friend.
Patch by Alexander Herz! llvm-svn: 111861
Diffstat (limited to 'llvm/lib/Analysis')
-rw-r--r--llvm/lib/Analysis/DebugInfo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Analysis/DebugInfo.cpp b/llvm/lib/Analysis/DebugInfo.cpp
index c3800284291..5ca89c658df 100644
--- a/llvm/lib/Analysis/DebugInfo.cpp
+++ b/llvm/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.
OpenPOWER on IntegriCloud