-
Notifications
You must be signed in to change notification settings - Fork 15.8k
Fix gcc name shadow warning. #175490
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix gcc name shadow warning. #175490
Conversation
Addresses comment in llvm#175322
|
@llvm/pr-subscribers-clang Author: Vassil Vassilev (vgvassilev) ChangesAddresses comment in #175322 Full diff: https://github.com/llvm/llvm-project/pull/175490.diff 1 Files Affected:
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"));
|
Addresses comment in llvm#175322
|
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/190/builds/34074 Here is the relevant piece of the build log for the reference |
|
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/88/builds/19413 Here is the relevant piece of the build log for the reference |
|
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/169/builds/18877 Here is the relevant piece of the build log for the reference |
Addresses comment in llvm#175322
Addresses comment in #175322