[all-commits] [llvm/llvm-project] 4b9fa3: [LLDB][NFC] treat Lua error codes in a more explic...

Pedro Tammela via All-commits all-commits at lists.llvm.org
Tue Nov 3 01:40:41 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 4b9fa3b705c8280e71908f4cc8c115320ef48316
      https://github.com/llvm/llvm-project/commit/4b9fa3b705c8280e71908f4cc8c115320ef48316
  Author: Pedro Tammela <pctammela at gmail.com>
  Date:   2020-11-03 (Tue, 03 Nov 2020)

  Changed paths:
    M lldb/source/Plugins/ScriptInterpreter/Lua/Lua.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list