[libclang] Support for querying whether an enum is scoped
authorAlex Lorenz <arphaman@gmail.com>
Wed, 12 Jul 2017 11:31:37 +0000 (11:31 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Wed, 12 Jul 2017 11:31:37 +0000 (11:31 +0000)
commit571b8cfac94bf030c8db74dc24e28301480ecb96
tree61d0b4edf903e6832eddb1c0f8236933cb2a62b2
parentdab1d5f3cd6000da8b1e6bb1110c8788ac6a8aa1
[libclang] Support for querying whether an enum is scoped

This commit allows checking whether an enum declaration is scoped
through libclang and clang.cindex (Python).

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

llvm-svn: 307769
clang/bindings/python/clang/cindex.py
clang/bindings/python/tests/cindex/test_cursor.py
clang/include/clang-c/Index.h
clang/test/Index/print-type-declaration.cpp
clang/tools/c-index-test/c-index-test.c
clang/tools/libclang/CIndex.cpp
clang/tools/libclang/libclang.exports