[libclang] Fix annotation of a range where the begin or end location
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 13 Feb 2013 18:33:28 +0000 (18:33 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 13 Feb 2013 18:33:28 +0000 (18:33 +0000)
commit5d47a9b253e48662840528e8d2a8e812b840b05a
treec8f5b73c9392633a11b3355023bbeb2c37dcb17d
parent142c5a4f66a36eb36253facd98c3fbf7f62dc308
[libclang] Fix annotation of a range where the begin or end location
is inside a macro argument.

Previously we would give up and not annotate anything in the range.
rdar://11891550

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