]> granicus.if.org Git - clang/commit
Make CIndex and c-index-test a little bit more robust. The only
authorDouglas Gregor <dgregor@apple.com>
Fri, 16 Oct 2009 21:24:31 +0000 (21:24 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 16 Oct 2009 21:24:31 +0000 (21:24 +0000)
commit02465750c8c3fa96b1e7e596b02297e24361dc4f
treef19ba5854fcc04c0c11b59550fcb8120e809bb81
parentb5deae519b1f86d514427c412d9f8873d93c909c
Make CIndex and c-index-test a little bit more robust. The only
substantive change is that clang_getCursorSource() now returns the
file in which a macro was instantiated when the cursor points into a
macro instantiation, rather than crashing.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84275 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Index/ASTLocation.h
tools/CIndex/CIndex.cpp
tools/c-index-test/c-index-test.c