]> granicus.if.org Git - clang/commit
[Index] Add an option to collect macros from preprocesor.
authorEric Liu <ioeric@google.com>
Tue, 18 Sep 2018 08:51:08 +0000 (08:51 +0000)
committerEric Liu <ioeric@google.com>
Tue, 18 Sep 2018 08:51:08 +0000 (08:51 +0000)
commit0c965af23bb73e9da25306503ff6f6e92817fa60
treef8d5504a356cd69ce7805767fe89f93c3ea4dcc4
parentae8dcccdd1f0be33b4c6b26e00382a2585c9b6b4
[Index] Add an option to collect macros from preprocesor.

Summary: Also added unit tests for the index library; lit+c-index-test is painful...

Reviewers: ilya-biryukov

Reviewed By: ilya-biryukov

Subscribers: mgorny, cfe-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@342451 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Index/IndexingAction.h
lib/Index/IndexingAction.cpp
unittests/CMakeLists.txt
unittests/Index/CMakeLists.txt [new file with mode: 0644]
unittests/Index/IndexTests.cpp [new file with mode: 0644]