diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-11-09 05:28:47 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-11-09 05:28:47 +0000 |
commit | d1ea3f0d29dd9e18c42d17ef281c744b5bea6b92 (patch) | |
tree | 3580c7cb3ab4b9e937bd8707cb989419f836ac62 /clang/lib/Frontend/DocumentXML.cpp | |
parent | c1351cac17c2357866132aeaa69706fc84bd4201 (diff) | |
download | bcm5719-llvm-d1ea3f0d29dd9e18c42d17ef281c744b5bea6b92.tar.gz bcm5719-llvm-d1ea3f0d29dd9e18c42d17ef281c744b5bea6b92.zip |
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.
llvm-svn: 118492
Diffstat (limited to 'clang/lib/Frontend/DocumentXML.cpp')
0 files changed, 0 insertions, 0 deletions