diff options
author | Manman Ren <mren@apple.com> | 2013-07-08 21:55:46 +0000 |
---|---|---|
committer | Manman Ren <mren@apple.com> | 2013-07-08 21:55:46 +0000 |
commit | 8bad86c81be924bdfe1814da69dafda8b0237503 (patch) | |
tree | 7c211f51c88af12b3706b46e49c38713f69690c4 | |
parent | a95d39251d4ead02ddc8363e2e5a851288ce6421 (diff) | |
download | bcm5719-llvm-8bad86c81be924bdfe1814da69dafda8b0237503.tar.gz bcm5719-llvm-8bad86c81be924bdfe1814da69dafda8b0237503.zip |
DebugInfo: remove unused helper function getDICompositeType.
llvm-svn: 185876
-rw-r--r-- | llvm/include/llvm/DebugInfo.h | 3 | ||||
-rw-r--r-- | llvm/lib/IR/DebugInfo.cpp | 11 |
2 files changed, 0 insertions, 14 deletions
diff --git a/llvm/include/llvm/DebugInfo.h b/llvm/include/llvm/DebugInfo.h index 372d367b707..dd03bf70d2c 100644 --- a/llvm/include/llvm/DebugInfo.h +++ b/llvm/include/llvm/DebugInfo.h @@ -695,9 +695,6 @@ 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); diff --git a/llvm/lib/IR/DebugInfo.cpp b/llvm/lib/IR/DebugInfo.cpp index 25d4ea4fc2a..c55d68fdc74 100644 --- a/llvm/lib/IR/DebugInfo.cpp +++ b/llvm/lib/IR/DebugInfo.cpp @@ -844,17 +844,6 @@ DISubprogram llvm::getDISubprogram(const MDNode *Scope) { return DISubprogram(); } -/// getDICompositeType - Find underlying composite type. -DICompositeType llvm::getDICompositeType(DIType T) { - if (T.isCompositeType()) - return DICompositeType(T); - - if (T.isDerivedType()) - return getDICompositeType(DIDerivedType(T).getTypeDerivedFrom()); - - return DICompositeType(); -} - /// isSubprogramContext - Return true if Context is either a subprogram /// or another context nested inside a subprogram. bool llvm::isSubprogramContext(const MDNode *Context) { |