From 06e9ed8dacd15b03d055f92955a26a37914b7fb5 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Tue, 15 Oct 2019 01:25:13 -0700 Subject: [PATCH] FAQ: add When does ccls reindex a file? --- FAQ.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/FAQ.md b/FAQ.md index 9cc300d..11b2e3f 100644 --- a/FAQ.md +++ b/FAQ.md @@ -27,6 +27,11 @@ might add: to your `.ccls` file. +## When does ccls reindex a file? + +* The timestamp of the file, or any of its dependency has changed. See `pipeline.cc:indexer_Parse`. +* The clang command line options have changed. See `pipeline.cc:cacheInvalid`. + ## Full indexing takes a long time / crushes my system For large projects, full indexing can be a significant burden. Once the