projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e28b89
)
[DebugInfo] Delete unused DIVariable::getSource
author
Fangrui Song
<i@maskray.me>
Fri, 5 Mar 2021 05:53:13 +0000
(21:53 -0800)
committer
Fangrui Song
<i@maskray.me>
Fri, 5 Mar 2021 05:53:13 +0000
(21:53 -0800)
llvm/include/llvm/IR/DebugInfoMetadata.h
patch
|
blob
|
history
diff --git
a/llvm/include/llvm/IR/DebugInfoMetadata.h
b/llvm/include/llvm/IR/DebugInfoMetadata.h
index
99f2c83
..
f10183e
100644
(file)
--- a/
llvm/include/llvm/IR/DebugInfoMetadata.h
+++ b/
llvm/include/llvm/IR/DebugInfoMetadata.h
@@
-3230,12
+3230,6
@@
public:
return "";
}
- Optional<StringRef> getSource() const {
- if (auto *F = getFile())
- return F->getSource();
- return None;
- }
-
MDString *getRawName() const { return getOperandAs<MDString>(0); }
Metadata *getRawFile() const { return getOperand(1); }
MDString *getRawGetterName() const { return getOperandAs<MDString>(2); }