]> granicus.if.org Git - clang/commit
cindex.py: Avoid deprecated function
authorAlp Toker <alp@nuanti.com>
Sun, 20 Apr 2014 01:07:03 +0000 (01:07 +0000)
committerAlp Toker <alp@nuanti.com>
Sun, 20 Apr 2014 01:07:03 +0000 (01:07 +0000)
commit34bf531fe55a681b8ed84e1925e10bab79b1be44
tree71a9680349792026adf763a7c2caa99a241f41c7
parent10e524df5e1856cb7d9893c96f7e8b9a1c777415
cindex.py: Avoid deprecated function

Implement Diagnostic::category_name() using clang_getDiagnosticCategoryText()
instead of the deprected clang_getDiagnosticCategoryName().

Preserves existing behaviour and API covered by existing tests.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206712 91177308-0d34-0410-b5e6-96231b3b80d8
bindings/python/clang/cindex.py