summaryrefslogtreecommitdiffstats
path: root/clang/lib/Tooling/JSONCompilationDatabase.cpp
diff options
context:
space:
mode:
authorHaojian Wu <hokein@google.com>2019-03-08 09:26:30 +0000
committerHaojian Wu <hokein@google.com>2019-03-08 09:26:30 +0000
commitf3342311768443f4e95f7e67206cbbb9f7ac8882 (patch)
tree69d5296fcef3d8cb7354914af7d5dade97143156 /clang/lib/Tooling/JSONCompilationDatabase.cpp
parent8e16d73346f8091461319a7dfc4ddd18eedcff13 (diff)
downloadbcm5719-llvm-f3342311768443f4e95f7e67206cbbb9f7ac8882.tar.gz
bcm5719-llvm-f3342311768443f4e95f7e67206cbbb9f7ac8882.zip
[clangd] Deduplicate Refs on the fly.
Summary: Currently, we only do deduplication when we flush final results. We may have huge duplications (refs from headers) during the indexing period (running clangd-indexer on Chromium). With this change, clangd-indexer can index the whole chromium projects (48 threads, 40 GB peak memory usage). Reviewers: kadircet Subscribers: ilya-biryukov, ioeric, MaskRay, jkorous, mgrang, arphaman, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D59092 llvm-svn: 355676
Diffstat (limited to 'clang/lib/Tooling/JSONCompilationDatabase.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud