diff options
author | David Blaikie <dblaikie@gmail.com> | 2013-08-16 20:42:14 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2013-08-16 20:42:14 +0000 |
commit | 692062f18023979c0f8d5a155c14cf1f1616a2b0 (patch) | |
tree | bc6d241a8e3eec18f4b3c12caf1482b2038dd145 /include/llvm/DebugInfo.h | |
parent | 9bb6c81683393363ed1ff8c66397f2d944c0966b (diff) | |
download | llvm-692062f18023979c0f8d5a155c14cf1f1616a2b0.tar.gz llvm-692062f18023979c0f8d5a155c14cf1f1616a2b0.tar.bz2 llvm-692062f18023979c0f8d5a155c14cf1f1616a2b0.tar.xz |
DebugInfo: Allow the addition of other (such as static data) members to a record type after construction
Plus a type cleanup & minor fix to enumerate members of declarations.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188577 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/DebugInfo.h')
-rw-r--r-- | include/llvm/DebugInfo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/DebugInfo.h b/include/llvm/DebugInfo.h index b02446abbb..2efc730f09 100644 --- a/include/llvm/DebugInfo.h +++ b/include/llvm/DebugInfo.h @@ -323,7 +323,7 @@ namespace llvm { DIArray getTypeArray() const { return getFieldAs<DIArray>(10); } void setTypeArray(DIArray Elements, DIArray TParams = DIArray()); - void addMember(DISubprogram S); + void addMember(DIDescriptor D); unsigned getRunTimeLang() const { return getUnsignedField(11); } DICompositeType getContainingType() const { return getFieldAs<DICompositeType>(12); |