aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/DIBuilder.cpp
diff options
context:
space:
mode:
authorShao-Ce SUN <shaoce@nj.iscas.ac.cn>2021-12-27 14:15:30 +0800
committerShao-Ce SUN <shaoce@nj.iscas.ac.cn>2021-12-27 14:16:08 +0800
commitec501f15a8b8ace2b283732740d6d65d40d82e09 (patch)
treed330ee90b633def575db6e9b684b171e51d3cd17 /llvm/lib/IR/DIBuilder.cpp
parent5d47e7d768951a7616ee19f12ef69cd50e02d230 (diff)
downloadllvm-ec501f15a8b8ace2b283732740d6d65d40d82e09.zip
llvm-ec501f15a8b8ace2b283732740d6d65d40d82e09.tar.gz
llvm-ec501f15a8b8ace2b283732740d6d65d40d82e09.tar.bz2
[clang][CodeGen] Remove the signed version of createExpression
Fix a TODO. Remove the callers of this signed version and delete. Reviewed By: CodaFi Differential Revision: https://reviews.llvm.org/D116014
Diffstat (limited to 'llvm/lib/IR/DIBuilder.cpp')
-rw-r--r--llvm/lib/IR/DIBuilder.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/IR/DIBuilder.cpp b/llvm/lib/IR/DIBuilder.cpp
index 35af220..16429e0 100644
--- a/llvm/lib/IR/DIBuilder.cpp
+++ b/llvm/lib/IR/DIBuilder.cpp
@@ -821,12 +821,6 @@ DIExpression *DIBuilder::createExpression(ArrayRef<uint64_t> Addr) {
return DIExpression::get(VMContext, Addr);
}
-DIExpression *DIBuilder::createExpression(ArrayRef<int64_t> Signed) {
- // TODO: Remove the callers of this signed version and delete.
- SmallVector<uint64_t, 8> Addr(Signed.begin(), Signed.end());
- return createExpression(Addr);
-}
-
template <class... Ts>
static DISubprogram *getSubprogram(bool IsDistinct, Ts &&...Args) {
if (IsDistinct)