aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2025-08-08 07:45:22 -0700
committerGitHub <noreply@github.com>2025-08-08 07:45:22 -0700
commit1bc49c0c97548bd95d2a4a7c92ae4e6e17a44c67 (patch)
tree930012d7fccd33e60b6039482b870c18bf9c16ae
parent8afa70f1c816289e36bf4a9f44ad9a6361a95266 (diff)
downloadllvm-1bc49c0c97548bd95d2a4a7c92ae4e6e17a44c67.zip
llvm-1bc49c0c97548bd95d2a4a7c92ae4e6e17a44c67.tar.gz
llvm-1bc49c0c97548bd95d2a4a7c92ae4e6e17a44c67.tar.bz2
[AST] Remove an unused local variable (NFC) (#152647)
-rw-r--r--clang/unittests/AST/DeclTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/unittests/AST/DeclTest.cpp b/clang/unittests/AST/DeclTest.cpp
index afaf413..6b44391 100644
--- a/clang/unittests/AST/DeclTest.cpp
+++ b/clang/unittests/AST/DeclTest.cpp
@@ -90,7 +90,7 @@ TEST(Decl, AsmLabelAttr) {
DeclF->addAttr(AsmLabelAttr::Create(Ctx, "foo"));
// Mangle the decl names.
- std::string MangleF, MangleG;
+ std::string MangleF;
std::unique_ptr<ItaniumMangleContext> MC(
ItaniumMangleContext::create(Ctx, Diags));
{