commit | b6278715de9530aea42ff3f9d4064fb5bed13343 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Tue Nov 09 05:28:47 2010 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Tue Nov 09 05:28:47 2010 +0000 |
tree | febcc5579b67ff9719ff2fac71e13574a9c611a3 | |
parent | 3d155e683a74d3783362ef1865be91544eb8a9fc [diff] |
Introduce clang_getSpellingLocation() into libclang, to provide the location where we're spelling a token even within a macro. clang_getInstantiationLocation() tells where we instantiated the macro. I'm still not thrilled with the CXSourceLocation/CXSourceRange APIs, since they gloss over macro-instantiation information. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@118492 91177308-0d34-0410-b5e6-96231b3b80d8