diff options
author | Devang Patel <dpatel@apple.com> | 2011-06-24 22:00:39 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2011-06-24 22:00:39 +0000 |
commit | fa3f9c001fe771af7dfcd7663b9d5dc345649d43 (patch) | |
tree | 95464fb28d9f43ca59318916bfda7100bf81da60 /include/llvm/Analysis | |
parent | e9e0e3aeafa32b3a8ba6414053cf90a82c6b2d1e (diff) | |
download | external_llvm-fa3f9c001fe771af7dfcd7663b9d5dc345649d43.zip external_llvm-fa3f9c001fe771af7dfcd7663b9d5dc345649d43.tar.gz external_llvm-fa3f9c001fe771af7dfcd7663b9d5dc345649d43.tar.bz2 |
Fix struct member's scope. Patch by Xi Wang.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133828 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis')
-rw-r--r-- | include/llvm/Analysis/DIBuilder.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Analysis/DIBuilder.h b/include/llvm/Analysis/DIBuilder.h index 96c6587..a706cc8 100644 --- a/include/llvm/Analysis/DIBuilder.h +++ b/include/llvm/Analysis/DIBuilder.h @@ -135,6 +135,7 @@ namespace llvm { unsigned Flags); /// createMemberType - Create debugging information entry for a member. + /// @param Scope Member scope. /// @param Name Member name. /// @param File File where this member is defined. /// @param LineNo Line number. @@ -143,7 +144,7 @@ namespace llvm { /// @param OffsetInBits Member offset. /// @param Flags Flags to encode member attribute, e.g. private /// @param Ty Parent type. - DIType createMemberType(StringRef Name, DIFile File, + DIType createMemberType(DIDescriptor Scope, StringRef Name, DIFile File, unsigned LineNo, uint64_t SizeInBits, uint64_t AlignInBits, uint64_t OffsetInBits, unsigned Flags, DIType Ty); |