Skip to content

Commit c8f1c63

Browse files
committed
Apply clang-tindy suggestions
1 parent 8c8a9be commit c8f1c63

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
@@ -91,7 +91,7 @@ TEST(InterpreterTest, Process) {
9191
EXPECT_FALSE(Cpp::Process("int f(); int res = f();") == 0);
9292

9393
// C API
94-
auto CXI = clang_createInterpreterFromRawPtr(I);
94+
auto* CXI = clang_createInterpreterFromRawPtr(I);
9595
clang_Interpreter_declare(CXI, "#include <iostream>", false);
9696
clang_Interpreter_process(CXI, "int c = 42;");
9797
auto* CXV = clang_createValue();
@@ -126,7 +126,7 @@ TEST(InterpreterTest, CreateInterpreter) {
126126

127127
#ifndef CPPINTEROP_USE_CLING
128128
// C API
129-
auto CXI = clang_createInterpreterFromRawPtr(I);
129+
auto* CXI = clang_createInterpreterFromRawPtr(I);
130130
auto CLI = clang_Interpreter_getClangInterpreter(CXI);
131131
EXPECT_TRUE(CLI);
132132

0 commit comments

Comments
 (0)