diff options
Diffstat (limited to 'clangd/index/dex/Dex.h')
-rw-r--r-- | clangd/index/dex/Dex.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/clangd/index/dex/Dex.h b/clangd/index/dex/Dex.h index c790e417..fb80ca03 100644 --- a/clangd/index/dex/Dex.h +++ b/clangd/index/dex/Dex.h @@ -1,9 +1,8 @@ //===--- Dex.h - Dex Symbol Index Implementation ----------------*- C++ -*-===// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// /// @@ -78,6 +77,10 @@ public: private: void buildIndex(); std::unique_ptr<Iterator> iterator(const Token &Tok) const; + std::unique_ptr<Iterator> + createFileProximityIterator(llvm::ArrayRef<std::string> ProximityPaths) const; + std::unique_ptr<Iterator> + createTypeBoostingIterator(llvm::ArrayRef<std::string> Types) const; /// Stores symbols sorted in the descending order of symbol quality.. std::vector<const Symbol *> Symbols; |