From 848af387d87b4c1d31191bfcdf02186f12c1b319 Mon Sep 17 00:00:00 2001 From: "Duncan P. N. Exon Smith" Date: Mon, 20 Apr 2015 18:20:03 +0000 Subject: DebugInfo: Remove typedefs for DITypeRef, etc. Remove typedefs for type refs: - DITypeRef => MDTypeRef - DIScopeRef => MDScopeRef - DIDescriptorRef => DebugNodeRef llvm-svn: 235323 --- llvm/lib/IR/DIBuilder.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'llvm/lib/IR/DIBuilder.cpp') diff --git a/llvm/lib/IR/DIBuilder.cpp b/llvm/lib/IR/DIBuilder.cpp index 891fb86..9e0474e 100644 --- a/llvm/lib/IR/DIBuilder.cpp +++ b/llvm/lib/IR/DIBuilder.cpp @@ -622,13 +622,13 @@ MDExpression* DIBuilder::createBitPieceExpression(unsigned OffsetInBytes, return MDExpression::get(VMContext, Addr); } -MDSubprogram* DIBuilder::createFunction(DIScopeRef Context, StringRef Name, - StringRef LinkageName, MDFile* File, - unsigned LineNo, MDSubroutineType* Ty, - bool isLocalToUnit, bool isDefinition, - unsigned ScopeLine, unsigned Flags, - bool isOptimized, Function *Fn, - MDNode *TParams, MDNode *Decl) { +MDSubprogram *DIBuilder::createFunction(MDScopeRef Context, StringRef Name, + StringRef LinkageName, MDFile *File, + unsigned LineNo, MDSubroutineType *Ty, + bool isLocalToUnit, bool isDefinition, + unsigned ScopeLine, unsigned Flags, + bool isOptimized, Function *Fn, + MDNode *TParams, MDNode *Decl) { // dragonegg does not generate identifier for types, so using an empty map // to resolve the context should be fine. DITypeIdentifierMap EmptyMap; -- cgit v1.1