[clang] Store code completion token range in preprocessor.
authorKadir Cetinkaya <kadircet@google.com>
Mon, 13 Aug 2018 08:13:35 +0000 (08:13 +0000)
committerKadir Cetinkaya <kadircet@google.com>
Mon, 13 Aug 2018 08:13:35 +0000 (08:13 +0000)
commit9b9c27490d24584bcb282f5ae873febe1612268a
tree5d7cb0a155860afa339751e6b66f0d1492f89295
parent5c490b49c3a0cc190a010f21c7d4137fa9ade8d3
[clang] Store code completion token range in preprocessor.

Summary:
This change is to support a new fature in clangd, tests will be send toclang-tools-extra with that change.

Unittests are included in: https://reviews.llvm.org/D50449

Reviewers: ilya-biryukov

Reviewed By: ilya-biryukov

Subscribers: ioeric, MaskRay, jkorous, arphaman, cfe-commits

Differential Revision: https://reviews.llvm.org/D50443

llvm-svn: 339540
clang/include/clang/Lex/Preprocessor.h
clang/lib/Lex/Preprocessor.cpp