[LLDB][Python] warning fix for LLDBSwigPythonBreakpointCallbackFunction
authorLawrence D'Anna <lawrence_danna@apple.com>
Wed, 30 Oct 2019 03:07:08 +0000 (20:07 -0700)
committerLawrence D'Anna <lawrence_danna@apple.com>
Wed, 30 Oct 2019 16:47:27 +0000 (09:47 -0700)
commitfb01c01bf3f60d1d229126ea4088519adae5c015
tree137b8bdfd428b76428d5444bf94e0e86d9fbc2bb
parent3071ebf7b38341e89be04aa64c257c4643e0648c
[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.
lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp