commit | 97b9872d5775446cb8aca1380e437649fe848d91 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Tue Jan 19 23:20:36 2010 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Tue Jan 19 23:20:36 2010 +0000 |
tree | 05c97bdf4e1cf62171a142e970025156d868088b | |
parent | a3899eb5e30426b00b80232a15ae557dd4caa5b8 [diff] |
Extend the CIndex API with direct support for expressions and statements, moving some of the more unnatural kinds of references (VarRef, EnumConstantRef, etc.) over to the expressions. We can now poke at arbitrary expressions and statements with, e.g., clang_getCursor() and get back useful information (e.g., source ranges). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93946 91177308-0d34-0410-b5e6-96231b3b80d8