[lldb/swig] Remove deprecated flags for generating bindings
authorMed Ismail Bennani <medismail.bennani@gmail.com>
Mon, 30 Jan 2023 22:07:32 +0000 (14:07 -0800)
committerMed Ismail Bennani <medismail.bennani@gmail.com>
Mon, 30 Jan 2023 22:07:32 +0000 (14:07 -0800)
commit8520b0fc59c010675afbfdae71d48893afc7b68b
tree74709c28cfd1ae129f7a34e2c14fe2838273e9a7
parentd502e0fbf933d08df2daf1618e97589af9e3c7d9
[lldb/swig] Remove deprecated flags for generating bindings

This patch conditionaly removes the `-py3` swig flag that was used to
generate python3 bindings, since it's unsued since SWIG 4.1.0.

```
Deprecated command line option: -py3. Ignored, this option is no longer supported
```

This also removes the `-shadow` flag that have been deprecated since 2002.

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

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
lldb/bindings/python/CMakeLists.txt