1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

Debug Info: pass in DIScope instead of DIDescriptor in createMemberType.

Improve readability. No functionality change.

llvm-svn: 190269
This commit is contained in:
Manman Ren 2013-09-08 04:07:59 +00:00
parent fa420c3e35
commit ff3c6f3af6
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.