summaryrefslogtreecommitdiffstats
path: root/llvm/lib
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
commited4d8c8c6eba7e5c210afc952ee6ad1731a07173 (patch)
treec74add2c2d20c5595d6ae12e442b6b2b39e8fd1f /llvm/lib
parent7122135fc3b460be75538185faa5881939b50500 (diff)
downloadbcm5719-llvm-ed4d8c8c6eba7e5c210afc952ee6ad1731a07173.tar.gz
bcm5719-llvm-ed4d8c8c6eba7e5c210afc952ee6ad1731a07173.zip
Remove unused function.
llvm-svn: 187001
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/IR/DebugInfo.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/llvm/lib/IR/DebugInfo.cpp b/llvm/lib/IR/DebugInfo.cpp
index 188c32d3ca6..1168ef3c94f 100644
--- a/llvm/lib/IR/DebugInfo.cpp
+++ b/llvm/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();
OpenPOWER on IntegriCloud