summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
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