]> granicus.if.org Git - clang/commit
[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)
commitee2d5fd7a3bd42bce387db094d27a479617c3e67
tree8ccc22174bc33506b543275f26e741b97ad11d79
parent029c8f37e32b08bad4c757848a695d199fe5c813
[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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176682 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang-c/Index.h
lib/Serialization/ASTReader.cpp
test/Index/file-includes.c [new file with mode: 0644]
tools/c-index-test/c-index-test.c
tools/libclang/CIndexHigh.cpp
tools/libclang/libclang.exports