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
This commit is contained in:
Manman Ren 2013-09-08 04:07:59 +00:00
parent 1ed2e1fb92
commit d372889eab
2 changed files with 2 additions and 2 deletions

View File

@ -191,7 +191,7 @@ namespace llvm {
/// @param Flags Flags to encode member attribute, e.g. private
/// @param Ty Parent type.
DIDerivedType
createMemberType(DIDescriptor Scope, StringRef Name, DIFile File,
createMemberType(DIScope Scope, StringRef Name, DIFile File,
unsigned LineNo, uint64_t SizeInBits, uint64_t AlignInBits,
uint64_t OffsetInBits, unsigned Flags, DIType Ty);

View File

@ -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.