aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-07-09 00:16:56 +0000
committerEric Christopher <echristo@gmail.com>2013-07-09 00:16:56 +0000
commit7bb386a299a7ccee998654dc7f000f66dd3acbbf (patch)
tree5a7f15e3d6d05c2fc1e132e2573f1f7dc37a4cd1 /include
parent201cdb10049126ea740e47f1dab01612a93a5698 (diff)
downloadexternal_llvm-7bb386a299a7ccee998654dc7f000f66dd3acbbf.zip
external_llvm-7bb386a299a7ccee998654dc7f000f66dd3acbbf.tar.gz
external_llvm-7bb386a299a7ccee998654dc7f000f66dd3acbbf.tar.bz2
Revert "DebugInfo: remove unused helper function getDICompositeType."
This reverts commit r185876 as the functions appear to still be used by dragonegg. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185890 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/DebugInfo.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/DebugInfo.h b/include/llvm/DebugInfo.h
index dd03bf7..372d367 100644
--- a/include/llvm/DebugInfo.h
+++ b/include/llvm/DebugInfo.h
@@ -695,6 +695,9 @@ namespace llvm {
/// getDISubprogram - Find subprogram that is enclosing this scope.
DISubprogram getDISubprogram(const MDNode *Scope);
+ /// getDICompositeType - Find underlying composite type.
+ DICompositeType getDICompositeType(DIType T);
+
/// isSubprogramContext - Return true if Context is either a subprogram
/// or another context nested inside a subprogram.
bool isSubprogramContext(const MDNode *Context);