[libclang] Introduce clang_findIncludesInFile, that can be used to retrieve all ...
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Fri, 8 Mar 2013 02:32:34 +0000 (02:32 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Fri, 8 Mar 2013 02:32:34 +0000 (02:32 +0000)
commit503c83ad819a8d396448a5243ee0637bc56343ad
treee1bf3bd8ad60350cbed5407a019d6829432eb6f9
parent733136952e0eb4031a1206dfb836948baec78c81
[libclang] Introduce clang_findIncludesInFile, that can be used to retrieve all #import/#include directives in a specific file.

It passes to the visitor, that the caller provides, CXCursor_InclusionDirective cursors for
all the include directives in a particular file.

llvm-svn: 176682
clang/include/clang-c/Index.h
clang/lib/Serialization/ASTReader.cpp
clang/test/Index/file-includes.c [new file with mode: 0644]
clang/tools/c-index-test/c-index-test.c
clang/tools/libclang/CIndexHigh.cpp
clang/tools/libclang/libclang.exports