Skip to content

Commit 3ef19b2

Browse files
committed
Try to fix tests
1 parent 679833b commit 3ef19b2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/Interpreter/CXCppInterOp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ void clang_deallocate(CXObject address) { ::operator delete(address); }
590590

591591
namespace Cpp {
592592
void* Construct(compat::Interpreter& interp, TCppScope_t scope,
593-
void* arena /*=nullptr*/);
593+
void* arena /*=nullptr*/);
594594
} // namespace Cpp
595595

596596
CXObject clang_construct(CXScope scope, void* arena) {

unittests/CppInterOp/InterpreterTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ TEST(InterpreterTest, CreateInterpreter) {
112112
EXPECT_FALSE(Cpp::GetNamed("cppUnknown"));
113113

114114
// C API
115-
const char* args[] = {"-std=c++14"};
115+
const char* args[] = {"-std=c++11"};
116116
auto CXI = clang_createInterpreter(args, 1);
117117
EXPECT_TRUE(CXI);
118118
clang_Interpreter_dispose(CXI);

0 commit comments

Comments
 (0)