aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-08-09 17:17:12 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-08-09 17:17:12 +0000
commit8328b6932ffeb41af7fc1260a48d36cf2a427f6f (patch)
tree308fb39dbb5e7f87f755e630a7bab5f75e6cff17 /include/llvm
parent5752b08aef30386cc6720b59f1103e770ae4eb9c (diff)
downloadexternal_llvm-8328b6932ffeb41af7fc1260a48d36cf2a427f6f.zip
external_llvm-8328b6932ffeb41af7fc1260a48d36cf2a427f6f.tar.gz
external_llvm-8328b6932ffeb41af7fc1260a48d36cf2a427f6f.tar.bz2
DebugInfo: provide the ability to add members to a class after it has been constructed
This is necessary to allow Clang to only emit implicit members when there is code generated for them, rather than whenever they are ODR used. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188082 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/DebugInfo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/DebugInfo.h b/include/llvm/DebugInfo.h
index 74416db..b02446a 100644
--- a/include/llvm/DebugInfo.h
+++ b/include/llvm/DebugInfo.h
@@ -323,6 +323,7 @@ namespace llvm {
DIArray getTypeArray() const { return getFieldAs<DIArray>(10); }
void setTypeArray(DIArray Elements, DIArray TParams = DIArray());
+ void addMember(DISubprogram S);
unsigned getRunTimeLang() const { return getUnsignedField(11); }
DICompositeType getContainingType() const {
return getFieldAs<DICompositeType>(12);