]> granicus.if.org Git - clang/commit
[libclang] If the code-completion point is inside the preamble, adjust the position...
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Sat, 18 Oct 2014 06:23:50 +0000 (06:23 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Sat, 18 Oct 2014 06:23:50 +0000 (06:23 +0000)
commite02bd00a7bc9ccbdc1aec1d77d5b77c08b8bd5ea
treefcb43285310c131cc0abfac4e986f8315dd63122
parent767b614fe357c8a26b38330cce0754c5427ba2f0
[libclang] If the code-completion point is inside the preamble, adjust the position at the beginning of the file after the preamble.

Otherwise we will not hit the code-completion point.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@220136 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Lex/Preprocessor.cpp
test/Index/complete-at-EOF.c