diff options
author | Manman Ren <manman.ren@gmail.com> | 2013-09-08 04:07:59 +0000 |
---|---|---|
committer | Manman Ren <manman.ren@gmail.com> | 2013-09-08 04:07:59 +0000 |
commit | d372889eabcd10a9d8ce8fe9a4b2678d3a51d823 (patch) | |
tree | df9721b82ebd2064edc7760c320cccde35af33cc /lib/IR/DIBuilder.cpp | |
parent | 1ed2e1fb92762e318648937a297a54c423d301b2 (diff) | |
download | external_llvm-d372889eabcd10a9d8ce8fe9a4b2678d3a51d823.zip external_llvm-d372889eabcd10a9d8ce8fe9a4b2678d3a51d823.tar.gz external_llvm-d372889eabcd10a9d8ce8fe9a4b2678d3a51d823.tar.bz2 |
Debug Info: pass in DIScope instead of DIDescriptor in createMemberType.
Improve readability. No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190269 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/IR/DIBuilder.cpp')
-rw-r--r-- | lib/IR/DIBuilder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/IR/DIBuilder.cpp b/lib/IR/DIBuilder.cpp index 7ac37f4..0c91b12 100644 --- a/lib/IR/DIBuilder.cpp +++ b/lib/IR/DIBuilder.cpp @@ -410,7 +410,7 @@ DIDerivedType DIBuilder::createInheritance( /// createMemberType - Create debugging information entry for a member. DIDerivedType DIBuilder::createMemberType( - DIDescriptor Scope, StringRef Name, DIFile File, unsigned LineNumber, + DIScope Scope, StringRef Name, DIFile File, unsigned LineNumber, uint64_t SizeInBits, uint64_t AlignInBits, uint64_t OffsetInBits, unsigned Flags, DIType Ty) { // TAG_member is encoded in DIDerivedType format. |