diff options
| author | Alex Voicu <alexandru.voicu@amd.com> | 2025-02-27 02:46:27 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-27 02:46:27 +0000 |
| commit | a2fac3f87be563cb588040c385f48b71cddf31e9 (patch) | |
| tree | 0be994d9f8c2419b9348e8c345d0aeb55cbe8bec /clang/lib/CodeGen/CGExprAgg.cpp | |
| parent | d29a1be94bc391205fa361f57f7fbc83c1e6f55a (diff) | |
| download | llvm-a2fac3f87be563cb588040c385f48b71cddf31e9.zip llvm-a2fac3f87be563cb588040c385f48b71cddf31e9.tar.gz llvm-a2fac3f87be563cb588040c385f48b71cddf31e9.tar.bz2 | |
[NFC] Fix Sanitizer breakage introduced in #128166 (#128990)
Remove accidental leftover unused variable.
Diffstat (limited to 'clang/lib/CodeGen/CGExprAgg.cpp')
| -rw-r--r-- | clang/lib/CodeGen/CGExprAgg.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGExprAgg.cpp b/clang/lib/CodeGen/CGExprAgg.cpp index 200fb7f..c8bdda3 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 = |
