aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-03-26 23:46:36 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-03-26 23:46:36 +0000
commitf34ea642e6402538f217db67a734a8530a36eed0 (patch)
tree1693715da6712baea3ebc02d87a472382da7d75f /include
parent847e36fb60ed4c9fa08215df4fddbe085bbad87a (diff)
downloadexternal_llvm-f34ea642e6402538f217db67a734a8530a36eed0.zip
external_llvm-f34ea642e6402538f217db67a734a8530a36eed0.tar.gz
external_llvm-f34ea642e6402538f217db67a734a8530a36eed0.tar.bz2
DebugInfo: more support for mutating DICompositeType to reduce magic number usage in Clang
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178090 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-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 e30713e..15f9187 100644
--- a/include/llvm/DebugInfo.h
+++ b/include/llvm/DebugInfo.h
@@ -359,6 +359,7 @@ namespace llvm {
DICompositeType getContainingType() const {
return getFieldAs<DICompositeType>(12);
}
+ void setContainingType(DICompositeType ContainingType);
DIArray getTemplateParams() const { return getFieldAs<DIArray>(13); }
/// Verify - Verify that a composite type descriptor is well formed.