]> granicus.if.org Git - clang/commit
Rework clang_annotateTokens() to annotate tokens with information that more closely...
authorTed Kremenek <kremenek@apple.com>
Wed, 5 May 2010 00:55:23 +0000 (00:55 +0000)
committerTed Kremenek <kremenek@apple.com>
Wed, 5 May 2010 00:55:23 +0000 (00:55 +0000)
commitfbd84caf62a21afa4db5f730e2e2603ead17bb65
treed7ccb09b2ea691f3109921996e4e17e430fcf5ad
parentaa8a66de0e7951ba5a305f3e5a39c9b14a318c42
Rework clang_annotateTokens() to annotate tokens with information that more closely matches
clang_getCursor().  Tokens are now annotated with the cursor (for the matching AST element)
that most closely encompasses that token.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@103064 91177308-0d34-0410-b5e6-96231b3b80d8
test/Index/annotate-tokens.c
test/Index/annotate-tokens.m
tools/libclang/CIndex.cpp