summaryrefslogtreecommitdiffstats
path: root/clang/unittests/AST
diff options
context:
space:
mode:
authorIlya Biryukov <ibiryukov@google.com>2018-08-22 11:39:16 +0000
committerIlya Biryukov <ibiryukov@google.com>2018-08-22 11:39:16 +0000
commitc5e44c1805716316e95eded8bf014649ac69d5bd (patch)
treef39efc4df2962204d555a0e8e447a22ebac20ac6 /clang/unittests/AST
parentc0ee24033cac0ec94741c86119de3bebbcbd7d91 (diff)
downloadbcm5719-llvm-c5e44c1805716316e95eded8bf014649ac69d5bd.tar.gz
bcm5719-llvm-c5e44c1805716316e95eded8bf014649ac69d5bd.zip
[clangd] Add callbacks on parsed AST in addition to parsed preambles
Summary: Will be used for updating the dynamic index on updates to the open files. Currently we collect only information coming from the preamble AST. This has a bunch of limitations: - Dynamic index misses important information from the body of the file, e.g. locations of definitions. - XRefs cannot be collected at all, since we can only obtain full information for the current file (preamble is parsed with skipped function bodies, therefore not reliable). This patch only adds the new callback, actually updates to the index will be done in a follow-up patch. Reviewers: hokein Reviewed By: hokein Subscribers: kadircet, javed.absar, ioeric, MaskRay, jkorous, arphaman, cfe-commits Differential Revision: https://reviews.llvm.org/D50847 llvm-svn: 340401
Diffstat (limited to 'clang/unittests/AST')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud