commit | 1db19dea8d221f27be46332d668d1e2decb7f1ab | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Tue Jan 19 21:36:55 2010 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Tue Jan 19 21:36:55 2010 +0000 |
tree | 66c0c402b33fd7ff7b04d41f29e28703c497e3a6 | |
parent | 46bbbdd0111c386c2341919a62c5742f2519efa6 [diff] |
Rework the CXSourceLocation and CXSourceRange APIs. They are now opaque data structures accessed through the new functions clang_getInstantiationLocation(), clang_getRangeStart(), and clang_getRangeEnd(). The new API permits later extensions to introduce new functions to allow CIndex clients to walk macro instantiations, if we ever care. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93915 91177308-0d34-0410-b5e6-96231b3b80d8