| commit | 4f46e789b3d7063bf3f34e60201c1e22ca2db2fc | [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 | 84d824bc845ddfb25e3415b7faecfe9dd5448173 | |
| parent | 3858ec472094bb31fbbb3532257110fbb3ce6848 [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. llvm-svn: 93915