Debian Codegraph @

clang-tools-extra/clangd/test/index-serialization/version-is-correct.test

raw
1 # REQUIRES: zlib
2 This test tries to parse a checked-in binary index.
3 If this test fails it means there has been a backward incompatilbe change to
4 serialization format.
5 Please bump the version number in
6 clang-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
12 Also if you've introduced new slabs/chunks to serialized index, make sure
13 indexing 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