diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-11-09 06:24:54 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-11-09 06:24:54 +0000 |
commit | a9b06d4c246d6c301e3dd1844f5dba669ed9c631 (patch) | |
tree | 250b364482b355d61c7306c371105fd26e031519 /lib/CodeGen/CGRecordLayoutBuilder.cpp | |
parent | 27a31fe6fac7eb98ece172bf83af93a3a103f5b4 (diff) |
ntroduce 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.
Take 2: this time, adjusted tests appropriately and used a "simple"
approach to the spelling location.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@118495 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGRecordLayoutBuilder.cpp')
0 files changed, 0 insertions, 0 deletions