HomePhabricator

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

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

Description

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

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.

Differential Revision: https://reviews.llvm.org/D90556

Details

Committed
tammelaNov 3 2020, 1:39 AM
Differential Revision
D90556: [LLDB][NFC] treat Lua error codes in a more explicit manner
Parents
rGca1bcdff4b86: [mlir] Add to shape.is_broadcastable description
Branches
Unknown
Tags
Unknown