libclang: add clang_getTypeSpelling(CXType CT)
authorDmitri Gribenko <gribozavr@gmail.com>
Fri, 15 Feb 2013 21:15:49 +0000 (21:15 +0000)
committerDmitri Gribenko <gribozavr@gmail.com>
Fri, 15 Feb 2013 21:15:49 +0000 (21:15 +0000)
commit0035372bb7b3c4512a66cddc264a3418b642a826
tree6851a9aa23fb6bb53dd6b4b9c0f23ec7de3acca9
parentd4c1a2063c83478941fad0a075d225fc66c6d513
libclang: add clang_getTypeSpelling(CXType CT)

Adds a function clang_getTypeSpelling(CXType CT) that returns
a CXString containing the underlying type.

Patch by Ben Gertzfield.

llvm-svn: 175299
clang/include/clang-c/Index.h
clang/test/Index/print-type.c [new file with mode: 0644]
clang/test/Index/print-type.cpp [new file with mode: 0644]
clang/test/Index/print-type.m [new file with mode: 0644]
clang/test/Index/print-typekind.c [deleted file]
clang/test/Index/print-typekind.m [deleted file]
clang/test/Index/vector-types.c [deleted file]
clang/tools/c-index-test/c-index-test.c
clang/tools/libclang/CXType.cpp
clang/tools/libclang/libclang.exports