]> granicus.if.org Git - clang/commit
[libclang] Make sure tokens from preprocessor directives are annotated as such,
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 12 Dec 2012 01:05:25 +0000 (01:05 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 12 Dec 2012 01:05:25 +0000 (01:05 +0000)
commitb94b62c3b15967d29f63165e834fa4f12944394c
tree73fb03d063a0dff540d008b57adcb48d9679d259
parent7533ebaec7bd63319a49dc980dcd49dbf7673702
[libclang] Make sure tokens from preprocessor directives are annotated as such,
even if the directive is inside a declaration.

Fixes rdar://11548788 & http://llvm.org/PR12970

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169949 91177308-0d34-0410-b5e6-96231b3b80d8
test/Index/annotate-tokens-pp.c
tools/libclang/CIndex.cpp