[clang] a2fac3f - [NFC] Fix Sanitizer breakage introduced in #128166 (#128990)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 26 18:46:30 PST 2025
Author: Alex Voicu
Date: 2025-02-27T02:46:27Z
New Revision: a2fac3f87be563cb588040c385f48b71cddf31e9
URL: https://github.com/llvm/llvm-project/commit/a2fac3f87be563cb588040c385f48b71cddf31e9
DIFF: https://github.com/llvm/llvm-project/commit/a2fac3f87be563cb588040c385f48b71cddf31e9.diff
LOG: [NFC] Fix Sanitizer breakage introduced in #128166 (#128990)
Remove accidental leftover unused variable.
Added:
Modified:
clang/lib/CodeGen/CGExprAgg.cpp
Removed:
################################################################################
diff --git a/clang/lib/CodeGen/CGExprAgg.cpp b/clang/lib/CodeGen/CGExprAgg.cpp
index 200fb7fd756fd..c8bdda375d1b1 100644
--- a/clang/lib/CodeGen/CGExprAgg.cpp
+++ b/clang/lib/CodeGen/CGExprAgg.cpp
@@ -303,7 +303,6 @@ void AggExprEmitter::withReturnValueSlot(
llvm::IntrinsicInst *LifetimeStartInst = nullptr;
if (!UseTemp) {
RetAddr = Dest.getAddress();
- RawAddress RetAllocaAddr = RawAddress::invalid();
} else {
RetAddr = CGF.CreateMemTempWithoutCast(RetTy, "tmp");
llvm::TypeSize Size =
More information about the cfe-commits
mailing list