summaryrefslogtreecommitdiff
path: root/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-11-11 18:52:31 +0000
committerEric Christopher <echristo@gmail.com>2013-11-11 18:52:31 +0000
commit883ed6bd9544e7fac36a66711132bf151fb734ad (patch)
tree293d1159efed25509bc4f6e06944b835eee73bd1 /lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
parent30b2a19f3be840da1bc4aefcaabcbddd2e0130fc (diff)
downloadllvm-883ed6bd9544e7fac36a66711132bf151fb734ad.tar.gz
llvm-883ed6bd9544e7fac36a66711132bf151fb734ad.tar.bz2
llvm-883ed6bd9544e7fac36a66711132bf151fb734ad.tar.xz
Just pass the DIComposite type by value instead of by pointer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194398 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfCompileUnit.h')
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfCompileUnit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h b/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
index a177d1910b..ba84164db3 100644
--- a/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
+++ b/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
@@ -348,7 +348,7 @@ private:
void constructSubrangeDIE(DIE &Buffer, DISubrange SR, DIE *IndexTy);
/// constructArrayTypeDIE - Construct array type DIE from DICompositeType.
- void constructArrayTypeDIE(DIE &Buffer, DICompositeType *CTy);
+ void constructArrayTypeDIE(DIE &Buffer, DICompositeType CTy);
/// constructEnumTypeDIE - Construct enum type DIE from DIEnumerator.
void constructEnumTypeDIE(DIE &Buffer, DIEnumerator ETy);