]> granicus.if.org Git - clang/commit
[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)
commitc0a5e830f198cf42d29f72f1ec06fbf4c5210e2c
tree9be0b59d1ba88b4a81f6c209908503dcccd65172
parent9c1b31eade8c5024750be34fea9eb824a2041abd
[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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@339540 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Lex/Preprocessor.h
lib/Lex/Preprocessor.cpp