Skip to content

Commit 4d7de4a

Browse files
committed
Apply clang-tindy suggestions
1 parent 7452945 commit 4d7de4a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

unittests/CppInterOp/InterpreterTest.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ TEST(InterpreterTest, Process) {
9494
EXPECT_FALSE(Cpp::Process("int f(); int res = f();") == 0);
9595

9696
// C API
97-
auto CXI = clang_createInterpreterFromRawPtr(I);
97+
auto* CXI = clang_createInterpreterFromRawPtr(I);
9898
clang_Interpreter_declare(CXI, "#include <iostream>", false);
9999
clang_Interpreter_process(CXI, "int c = 42;");
100100
auto* CXV = clang_createValue();
@@ -129,7 +129,7 @@ TEST(InterpreterTest, CreateInterpreter) {
129129

130130
#ifndef CPPINTEROP_USE_CLING
131131
// C API
132-
auto CXI = clang_createInterpreterFromRawPtr(I);
132+
auto* CXI = clang_createInterpreterFromRawPtr(I);
133133
auto CLI = clang_Interpreter_getClangInterpreter(CXI);
134134
EXPECT_TRUE(CLI);
135135

0 commit comments

Comments
 (0)