This is an archive of the discontinued LLVM Phabricator instance.

[LLDB][NFC] treat Lua error codes in a more explicit manner
ClosedPublic

Authored by tammela on Nov 1 2020, 8:26 AM.

Details

Summary

This patch is a minor suggestion to not rely on the fact
that the LUA_OK macro is 0.

This assumption could change in future versions of the C API.

Diff Detail

Event Timeline

tammela created this revision.Nov 1 2020, 8:26 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 1 2020, 8:26 AM
tammela requested review of this revision.Nov 1 2020, 8:26 AM
This revision is now accepted and ready to land.Nov 2 2020, 12:46 PM
This revision was landed with ongoing or failed builds.Nov 3 2020, 1:40 AM
This revision was automatically updated to reflect the committed changes.