diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-04-20 18:20:03 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-04-20 18:20:03 +0000 |
commit | 848af387d87b4c1d31191bfcdf02186f12c1b319 (patch) | |
tree | f245e0e5b96b03e152de39d84f8e871d6ce938e3 /llvm/lib/IR/DIBuilder.cpp | |
parent | b9bd6af2f2ffcbd44658a083f6a4096b39a27ca5 (diff) | |
download | llvm-848af387d87b4c1d31191bfcdf02186f12c1b319.zip llvm-848af387d87b4c1d31191bfcdf02186f12c1b319.tar.gz llvm-848af387d87b4c1d31191bfcdf02186f12c1b319.tar.bz2 |
DebugInfo: Remove typedefs for DITypeRef, etc.
Remove typedefs for type refs:
- DITypeRef => MDTypeRef
- DIScopeRef => MDScopeRef
- DIDescriptorRef => DebugNodeRef
llvm-svn: 235323
Diffstat (limited to 'llvm/lib/IR/DIBuilder.cpp')
-rw-r--r-- | llvm/lib/IR/DIBuilder.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
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; |