summaryrefslogtreecommitdiff
path: root/lib/IR
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-07-23 22:50:42 +0000
committerEric Christopher <echristo@gmail.com>2013-07-23 22:50:42 +0000
commitd2b82e9bb37699c7571558aa5d35e00f8030028f (patch)
tree05e8efc1fc4fd9298e2d7fa6e82f43b7202cf30d /lib/IR
parent17f99a991f2e270a34c53854ce80acc30754537b (diff)
downloadllvm-d2b82e9bb37699c7571558aa5d35e00f8030028f.tar.gz
llvm-d2b82e9bb37699c7571558aa5d35e00f8030028f.tar.bz2
llvm-d2b82e9bb37699c7571558aa5d35e00f8030028f.tar.xz
Remove unused function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187001 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/IR')
-rw-r--r--lib/IR/DebugInfo.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/IR/DebugInfo.cpp b/lib/IR/DebugInfo.cpp
index 188c32d3ca..1168ef3c94 100644
--- a/lib/IR/DebugInfo.cpp
+++ b/lib/IR/DebugInfo.cpp
@@ -670,13 +670,6 @@ Value *DITemplateValueParameter::getValue() const {
return getField(DbgNode, 4);
}
-void DIScope::setFilename(StringRef Name, LLVMContext &Context) {
- if (!DbgNode)
- return;
- MDString *MDName(MDString::get(Context, Name));
- getNodeField(DbgNode, 1)->replaceOperandWith(0, MDName);
-}
-
StringRef DIScope::getFilename() const {
if (!DbgNode)
return StringRef();