Skip to content

Commit 1ac0c6f

Browse files
committed
fix-up
1 parent 40f21ca commit 1ac0c6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Interpreter/CXCppInterOp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ enum CXErrorCode clang_Interpreter_declare(CXInterpreter I, const char* code,
337337
const auto result = interp->declare(code);
338338
diag.setSuppressAllDiagnostics(is_silent_old);
339339

340-
if (result != Cpp::Interpreter::kSuccess)
340+
if (result != 0 /*Cpp::Interpreter::kSuccess*/)
341341
return CXError_Failure;
342342

343343
return CXError_Success;

0 commit comments

Comments
 (0)