[all-commits] [llvm/llvm-project] fb01c0: [LLDB][Python] warning fix for LLDBSwigPythonBreak...

smoofra via All-commits all-commits at lists.llvm.org
Wed Oct 30 09:48:26 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: fb01c01bf3f60d1d229126ea4088519adae5c015
      https://github.com/llvm/llvm-project/commit/fb01c01bf3f60d1d229126ea4088519adae5c015
  Author: Lawrence D'Anna <lawrence_danna at apple.com>
  Date:   2019-10-30 (Wed, 30 Oct 2019)

  Changed paths:
    M lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp

  Log Message:
  -----------
  [LLDB][Python] warning fix for LLDBSwigPythonBreakpointCallbackFunction

This is a quick followup to this commit:

https://reviews.llvm.org/rGa69bbe02a2352271e8b14542073f177e24c499c1

In that, I #pragma-squelch this warning in `ScriptInterpreterPython.cpp`
but we get the same warning in `PythonTestSuite.cpp`.

This patch squelches the same warning in the same way as the
reviweed commit.   I'm submitting it without review under the
"obviously correct" rule.

At least if this is incorrect the main commit was also incorrect.

By the way, as far as I can tell, these functions are extern "C" because
SWIG does that to everything, not because they particularly need to be.




More information about the All-commits mailing list