commit | fbd84caf62a21afa4db5f730e2e2603ead17bb65 | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Wed May 05 00:55:23 2010 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Wed May 05 00:55:23 2010 +0000 |
tree | d7ccb09b2ea691f3109921996e4e17e430fcf5ad | |
parent | aa8a66de0e7951ba5a305f3e5a39c9b14a318c42 [diff] |
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