• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# REQUIRES: zlib
2This test tries to parse a checked-in binary index.
3If this test fails it means there has been a backward incompatilbe change to
4serialization format.
5Please bump the version number in
6clang-tools-extra/clangd/index/Serialization.cpp and regenarate sample.idx with
7
8  clangd-indexer \
9    clang-tools-extra/clangd/test/index-serialization/Inputs/sample.cpp > \
10    clang-tools-extra/clangd/test/index-serialization/Inputs/sample.idx
11
12Also if you've introduced new slabs/chunks to serialized index, make sure
13indexing sample.cpp would yield non-trivial values for those.
14# RUN: dexp %/S/Inputs/sample.idx -c="find B" | grep Bar || not grep -v '^#' %s
15