diff options
Diffstat (limited to 'clang-tools-extra/clangd/index/Merge.h')
| -rw-r--r-- | clang-tools-extra/clangd/index/Merge.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang-tools-extra/clangd/index/Merge.h b/clang-tools-extra/clangd/index/Merge.h index 281ae01710c..38a6887040c 100644 --- a/clang-tools-extra/clangd/index/Merge.h +++ b/clang-tools-extra/clangd/index/Merge.h @@ -24,6 +24,10 @@ Symbol mergeSymbol(const Symbol &L, const Symbol &R); // - the Dynamic index covers few files, but is relatively up-to-date. // - the Static index covers a bigger set of files, but is relatively stale. // The returned index attempts to combine results, and avoid duplicates. +// +// FIXME: We don't have a mechanism in Index to track deleted symbols and +// occurrences in dirty files, so the merged index may return stale symbols +// and occurrences from Static index. std::unique_ptr<SymbolIndex> mergeIndex(const SymbolIndex *Dynamic, const SymbolIndex *Static); |

