summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-11-16 00:29:01 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-11-16 00:29:01 +0000
commit52c5020dae3e7038b59ccf2864babfe92d6a9e1e (patch)
treeeb9b59729089c46f48a731d7529ffb49571e7a25 /llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
parenteb0338feb1c0aea1f84baca4ffe3a6c63e787455 (diff)
downloadbcm5719-llvm-52c5020dae3e7038b59ccf2864babfe92d6a9e1e.tar.gz
bcm5719-llvm-52c5020dae3e7038b59ccf2864babfe92d6a9e1e.zip
DwarfCompileUnit: Push type safety of DIDescriptor through CompileUnit::createAndAddDIE.
llvm-svn: 194902
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
index 059f2be2104..884e51a7ef8 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
@@ -321,7 +321,7 @@ public:
/// Create a DIE with the given Tag, add the DIE to its parent, and
/// call insertDIE if MD is not null.
- DIE *createAndAddDIE(unsigned Tag, DIE &Parent, const MDNode *MD = NULL);
+ DIE *createAndAddDIE(unsigned Tag, DIE &Parent, DIDescriptor N = DIDescriptor());
/// Compute the size of a header for this unit, not including the initial
/// length field.
OpenPOWER on IntegriCloud