]> granicus.if.org Git - clang/commit
[libclang] Fix getting a cursor inside an angled #include directive.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Tue, 11 Sep 2012 02:17:21 +0000 (02:17 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Tue, 11 Sep 2012 02:17:21 +0000 (02:17 +0000)
commit59cabd7101d3871519019efdff008378a985dae9
tree281940f42c0d27926bd063320881dd8f16f93a7b
parent85f90bd579ee83d3061715ad0dcb7575832e4fe9
[libclang] Fix getting a cursor inside an angled #include directive.

Fixed by pointing the end location of the preprocessed entity for the #include
at the closing '>', instead of the start of '<'.

rdar://11113134

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163588 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Lex/PPDirectives.cpp
test/Index/c-index-getCursor-pp.c