[libclang] Fix issue with clang_tokenize and make sure it interprets CXSourceRange...
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 9 Nov 2016 23:58:39 +0000 (23:58 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 9 Nov 2016 23:58:39 +0000 (23:58 +0000)
commitc7c6a07548172399844e85f0dfb5476525fd07ff
treecafb0d0521d416d92f068d6e90db71a531340ceb
parent32ab3a817d4d8ae20e868e8966ceef1511a88d03
[libclang] Fix issue with clang_tokenize and make sure it interprets CXSourceRange as half-open character range.

Patch provided by Emilio Cobos Álvarez! (https://reviews.llvm.org/D26446)

llvm-svn: 286421
clang/test/Index/annotate-tokens.c
clang/tools/libclang/CIndex.cpp