https://github.com/vgvassilev created 
https://github.com/llvm/llvm-project/pull/175490

Addresses comment in #175322

>From e73ea681c57dd2a3dbde7e8ba4a608a407832027 Mon Sep 17 00:00:00 2001
From: Vassil Vassilev <[email protected]>
Date: Mon, 12 Jan 2026 06:19:42 +0000
Subject: [PATCH] Fix gcc name shadow warning.

Addresses comment in #175322
---
 .../unittests/Interpreter/OutOfProcessInterpreterTests.cpp  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/clang/unittests/Interpreter/OutOfProcessInterpreterTests.cpp 
b/clang/unittests/Interpreter/OutOfProcessInterpreterTests.cpp
index 225d6c8c66cab..9df941d6cf8e1 100644
--- a/clang/unittests/Interpreter/OutOfProcessInterpreterTests.cpp
+++ b/clang/unittests/Interpreter/OutOfProcessInterpreterTests.cpp
@@ -113,7 +113,7 @@ class OutOfProcessInterpreterTest : public 
InterpreterTestBase {
 
 struct OutOfProcessInterpreterInfo {
   std::string OrcRuntimePath;
-  std::unique_ptr<Interpreter> Interpreter;
+  std::unique_ptr<Interpreter> Interp;
 };
 
 static OutOfProcessInterpreterInfo
@@ -180,7 +180,7 @@ TEST_F(OutOfProcessInterpreterTest, 
SanityWithRemoteExecution) {
 
   OutOfProcessInterpreterInfo Info =
       createInterpreterWithRemoteExecution(io_ctx);
-  Interpreter *Interp = Info.Interpreter.get();
+  Interpreter *Interp = Info.Interp.get();
   ASSERT_TRUE(Interp);
 
   using PTU = PartialTranslationUnit;
@@ -205,7 +205,7 @@ TEST_F(OutOfProcessInterpreterTest, FindRuntimeInterface) {
   ASSERT_TRUE(io_ctx->initializeTempFiles());
 
   OutOfProcessInterpreterInfo I = createInterpreterWithRemoteExecution(io_ctx);
-  ASSERT_TRUE(I.Interpreter);
+  ASSERT_TRUE(I.Interp);
 
   // FIXME: Not yet supported.
   // cantFail(I->Parse("int a = 1; a"));

_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to