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.

llvm-svn: 93915
4 files changed
tree: 84d824bc845ddfb25e3415b7faecfe9dd5448173
  1. clang/
  2. compiler-rt/
  3. llvm/