]> granicus.if.org Git - clang/commit
[libclang] Simplify the indexing API.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Fri, 11 Nov 2011 00:23:36 +0000 (00:23 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Fri, 11 Nov 2011 00:23:36 +0000 (00:23 +0000)
commitdd93c596cd95e1b96031ff47efe0a5095ff3d7f1
tree423f7b1be7f9d00e680f5bf2eb6cc2e9bea4cc49
parentba49103550281ff9c92c850487e83c7a6eb43825
[libclang] Simplify the indexing API.

Cut down the number of callbacks to more generic ones. Clients can check
an enum to find out what kind of declaration it is and they can call functions
to get more specific information than the generic provided info.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@144343 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang-c/Index.h
tools/c-index-test/c-index-test.c
tools/libclang/IndexDecl.cpp
tools/libclang/IndexTypeSourceInfo.cpp
tools/libclang/Indexing.cpp
tools/libclang/IndexingContext.cpp
tools/libclang/IndexingContext.h
tools/libclang/libclang.exports