llvm-project/lldb/bindings
Dave Lee daf3699869 [lldb] Ignore linkage diagnostic for LLDBSwigPythonBreakpointCallbackFunction (NFC)
Ignore `-Wreturn-type-c-linkage` diagnostics for `LLDBSwigPythonBreakpointCallbackFunction`.

The function is defined in `python-wrapper.swig` which uses `extern "C" { ... }` blocks.
The declaration of this function in `ScriptInterpreterPython.cpp` already uses these
same pragmas to silence the warning there.

This prevents `-Werror` builds from failing.

Differential Revision: https://reviews.llvm.org/D98368
2021-03-10 14:15:54 -08:00
..
interface [lldb/API] Add CommandInterpreter::{Get,Set}PrintErrors to SBAPI (NFC) 2021-03-05 19:33:33 +01:00
lua [lldb/Lua] add support for Lua function breakpoint 2021-01-25 23:40:57 +00:00
python [lldb] Ignore linkage diagnostic for LLDBSwigPythonBreakpointCallbackFunction (NFC) 2021-03-10 14:15:54 -08:00
CMakeLists.txt [lldb/CMake] Separate CMake code for Lua and Python (NFC) 2020-08-11 09:04:18 -07:00
headers.swig [lldb/API] Move SBCommandInterpreterRunOption in its own header. (NFC) 2020-04-30 13:41:21 -07:00
interfaces.swig [lldb/API] Move SBCommandInterpreterRunOption in its own header. (NFC) 2020-04-30 13:41:21 -07:00
macros.swig [lldb] Remove nothreadallow from SWIG's __str__ wrappers to work around a Python>=3.7 crash 2020-09-28 10:10:34 +02:00