Skip to content

Commit

Permalink
fix-up
Browse files Browse the repository at this point in the history
  • Loading branch information
Gnimuc committed Jun 23, 2024
1 parent aa35769 commit a1fb842
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/clang-c/CXCppInterOp.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ TInterp_t clang_interpreter_takeInterpreterAsPtr(CXInterpreter I);
/**
* Undo N previous incremental inputs.
*/
CXErrorCode clang_interpreter_Undo(CXInterpreter I, unsigned int N);
enum CXErrorCode clang_interpreter_Undo(CXInterpreter I, unsigned int N);

/**
* Dispose of the given interpreter context.
Expand Down
2 changes: 1 addition & 1 deletion lib/Interpreter/CXCppInterOp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ TInterp_t clang_interpreter_takeInterpreterAsPtr(CXInterpreter I) {
return static_cast<CXInterpreterImpl*>(I)->Interp.release();
}

CXErrorCode clang_interpreter_Undo(CXInterpreter I, unsigned int N) {
enum CXErrorCode clang_interpreter_Undo(CXInterpreter I, unsigned int N) {
return getInterpreter(I)->Undo(N) ? CXError_Failure : CXError_Success;

Check warning on line 74 in lib/Interpreter/CXCppInterOp.cpp

View check run for this annotation

Codecov / codecov/patch

lib/Interpreter/CXCppInterOp.cpp#L73-L74

Added lines #L73 - L74 were not covered by tests
}

Expand Down

0 comments on commit a1fb842

Please sign in to comment.