diff options
author | Stephen Kelly <steveire@gmail.com> | 2017-01-11 21:27:03 +0000 |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2017-01-11 21:27:03 +0000 |
commit | ed1b9ce2bb2a2e51410e0a1754a72c110010a6a0 (patch) | |
tree | 74e69c7f76a0ec8c8abf5357cefe235531e821fd /tests/GenerateSipBindings/cpplib.h | |
parent | 8aa6843404f9c6faef66cb9c76358158eafc1af1 (diff) | |
download | extra-cmake-modules-ed1b9ce2bb2a2e51410e0a1754a72c110010a6a0.tar.gz extra-cmake-modules-ed1b9ce2bb2a2e51410e0a1754a72c110010a6a0.tar.bz2 |
Bindings: Fix logging output severity for parsing messages
The Python logging module uses logging severities with numerical values
which form a sequence in steps of 10. The Clang cindex.Diagnostic
numerical values use a step size of 1, so the two are incompatible.
Introduce a mapping function so that appropriate errors get issued when
attempting to build the bindings. The logging module has one surplus
diagnostic level, but we simply never use it.
BUG: 374801
Diffstat (limited to 'tests/GenerateSipBindings/cpplib.h')
0 files changed, 0 insertions, 0 deletions