]> granicus.if.org Git - clang/commit
[libclang] Introduce clang_getFileLocation.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Fri, 4 Jan 2013 18:30:13 +0000 (18:30 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Fri, 4 Jan 2013 18:30:13 +0000 (18:30 +0000)
commit2d5c133d3dd95507db63147997109f06e8cfa833
tree427bef1e6e61e9c1cef75fb8c391e989cafc6769
parent20bcd4ead46e3764a5d1279845f8ed351f4d3984
[libclang] Introduce clang_getFileLocation.

Uses of clang_getSpellingLocation should eventually move to calling
clang_getFileLocation, and clang_getSpellingLocation should do what
its name represents and actually point at the 'spelling' location, e.g.
inside a macro definition if the spelling of a token came from that.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171486 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang-c/Index.h
tools/libclang/CXSourceLocation.cpp
tools/libclang/libclang.exports