From ec501f15a8b8ace2b283732740d6d65d40d82e09 Mon Sep 17 00:00:00 2001 From: Shao-Ce SUN Date: Mon, 27 Dec 2021 14:15:30 +0800 Subject: [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 --- llvm/lib/IR/DIBuilder.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'llvm/lib/IR/DIBuilder.cpp') 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 Addr) { return DIExpression::get(VMContext, Addr); } -DIExpression *DIBuilder::createExpression(ArrayRef Signed) { - // TODO: Remove the callers of this signed version and delete. - SmallVector Addr(Signed.begin(), Signed.end()); - return createExpression(Addr); -} - template static DISubprogram *getSubprogram(bool IsDistinct, Ts &&...Args) { if (IsDistinct) -- cgit v1.1