reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Derived Classes

tools/clang/tools/extra/clangd/index/Index.h
  126 class SwapIndex : public SymbolIndex {
tools/clang/tools/extra/clangd/index/MemIndex.h
   19 class MemIndex : public SymbolIndex {
tools/clang/tools/extra/clangd/index/Merge.h
   30 class MergedIndex : public SymbolIndex {
tools/clang/tools/extra/clangd/index/dex/Dex.h
   42 class Dex : public SymbolIndex {
tools/clang/tools/extra/clangd/unittests/CodeCompleteTests.cpp
 1155 class IndexRequestCollector : public SymbolIndex {

Declarations

tools/clang/tools/extra/clangd/ClangdLSPServer.h
   28 class SymbolIndex;
tools/clang/tools/extra/clangd/FindSymbols.h
   22 class SymbolIndex;
tools/clang/tools/extra/clangd/ParsedAST.h
   43 class SymbolIndex;
tools/clang/tools/extra/clangd/refactor/Rename.h
   19 class SymbolIndex;

References

include/llvm/ADT/Optional.h
   87   template <class... Args> void emplace(Args &&... args) {
  237   template <typename... ArgTypes> void emplace(ArgTypes &&... Args) {
tools/clang/tools/extra/clangd/ClangdServer.h
  102     SymbolIndex *StaticIndex = nullptr;
  314   const SymbolIndex *Index = nullptr;
  320   std::vector<std::unique_ptr<SymbolIndex>> MergedIdx;
tools/clang/tools/extra/clangd/CodeComplete.cpp
  802                          const SymbolIndex *Index, SignatureHelp &SigHelp)
 1014   const SymbolIndex *Index;
 1155 std::future<SymbolSlab> startAsyncFuzzyFind(const SymbolIndex &Index,
 1754                             const SymbolIndex *Index) {
tools/clang/tools/extra/clangd/CodeComplete.h
  103   const SymbolIndex *Index = nullptr;
  264                             const SymbolIndex *Index);
tools/clang/tools/extra/clangd/Compiler.h
   49   const SymbolIndex *Index = nullptr;
tools/clang/tools/extra/clangd/FindSymbols.cpp
   68                     const SymbolIndex *const Index, llvm::StringRef HintPath) {
tools/clang/tools/extra/clangd/FindSymbols.h
   40                     const SymbolIndex *const Index, llvm::StringRef HintPath);
tools/clang/tools/extra/clangd/HeaderSourceSwitch.cpp
   73                                                     const SymbolIndex *Index) {
tools/clang/tools/extra/clangd/HeaderSourceSwitch.h
   28                                                     const SymbolIndex *Index);
tools/clang/tools/extra/clangd/IncludeFixer.h
   38                const SymbolIndex &Index, unsigned IndexRequestLimit)
   75   const SymbolIndex &Index;
tools/clang/tools/extra/clangd/ParsedAST.cpp
  223                  const SymbolIndex *Index, const ParseOptions &Opts) {
tools/clang/tools/extra/clangd/ParsedAST.h
   56         const SymbolIndex *Index, const ParseOptions &Opts);
tools/clang/tools/extra/clangd/XRefs.cpp
  239                                           const SymbolIndex *Index) {
  589                              const SymbolIndex *Index) {
  612 static HoverInfo getHoverContents(const Decl *D, const SymbolIndex *Index) {
  713                                   const SymbolIndex *Index) {
  884                                    const SymbolIndex *Index) {
  919                                      uint32_t Limit, const SymbolIndex *Index) {
 1084 symbolToTypeHierarchyItem(const Symbol &S, const SymbolIndex *Index,
 1110                          const SymbolIndex *Index, int Levels, PathRef TUPath) {
 1216                  TypeHierarchyDirection Direction, const SymbolIndex *Index,
 1251                           const SymbolIndex *Index) {
tools/clang/tools/extra/clangd/XRefs.h
   50                                           const SymbolIndex *Index = nullptr);
  125                                    const SymbolIndex *Index);
  131                                      const SymbolIndex *Index = nullptr);
  145     const SymbolIndex *Index = nullptr, PathRef TUPath = PathRef{});
  149                           const SymbolIndex *Index);
tools/clang/tools/extra/clangd/benchmarks/IndexBenchmark.cpp
   27 std::unique_ptr<SymbolIndex> buildMem() {
   31 std::unique_ptr<SymbolIndex> buildDex() {
tools/clang/tools/extra/clangd/index/BackgroundRebuild.cpp
  116     std::unique_ptr<SymbolIndex> NewIndex;
tools/clang/tools/extra/clangd/index/FileIndex.cpp
  118 std::unique_ptr<SymbolIndex>
tools/clang/tools/extra/clangd/index/FileIndex.h
   73   std::unique_ptr<SymbolIndex>
tools/clang/tools/extra/clangd/index/Index.cpp
   20 void SwapIndex::reset(std::unique_ptr<SymbolIndex> Index) {
   22   std::shared_ptr<SymbolIndex> Pin;
   29 std::shared_ptr<SymbolIndex> SwapIndex::snapshot() const {
tools/clang/tools/extra/clangd/index/Index.h
  126 class SwapIndex : public SymbolIndex {
  129   SwapIndex(std::unique_ptr<SymbolIndex> Index = nullptr)
  131   void reset(std::unique_ptr<SymbolIndex>);
  148   std::shared_ptr<SymbolIndex> snapshot() const;
  150   std::shared_ptr<SymbolIndex> Index;
tools/clang/tools/extra/clangd/index/MemIndex.cpp
   19 std::unique_ptr<SymbolIndex> MemIndex::build(SymbolSlab Slab, RefSlab Refs,
tools/clang/tools/extra/clangd/index/MemIndex.h
   19 class MemIndex : public SymbolIndex {
   48   static std::unique_ptr<SymbolIndex> build(SymbolSlab Symbols, RefSlab Refs,
tools/clang/tools/extra/clangd/index/Merge.h
   30 class MergedIndex : public SymbolIndex {
   31   const SymbolIndex *Dynamic, *Static;
   36   MergedIndex(const SymbolIndex *Dynamic, const SymbolIndex *Static)
   36   MergedIndex(const SymbolIndex *Dynamic, const SymbolIndex *Static)
tools/clang/tools/extra/clangd/index/Serialization.cpp
  663 std::unique_ptr<SymbolIndex> loadIndex(llvm::StringRef SymbolFilename,
tools/clang/tools/extra/clangd/index/Serialization.h
   83 std::unique_ptr<SymbolIndex> loadIndex(llvm::StringRef Filename,
tools/clang/tools/extra/clangd/index/dex/Dex.cpp
   26 std::unique_ptr<SymbolIndex> Dex::build(SymbolSlab Symbols, RefSlab Refs,
tools/clang/tools/extra/clangd/index/dex/Dex.h
   42 class Dex : public SymbolIndex {
   71   static std::unique_ptr<SymbolIndex> build(SymbolSlab, RefSlab, RelationSlab);
tools/clang/tools/extra/clangd/index/dex/dexp/Dexp.cpp
   51                                             const SymbolIndex *Index) {
   84   const SymbolIndex *Index;
   89                            const char *Overview, const SymbolIndex &Index) {
  267 std::unique_ptr<SymbolIndex> openIndex(llvm::StringRef Index) {
  282   std::unique_ptr<SymbolIndex> Index;
tools/clang/tools/extra/clangd/refactor/Rename.cpp
   43                                             const SymbolIndex &Index) {
   74                                                    const SymbolIndex *Index) {
  163                  llvm::StringRef NewName, const SymbolIndex *Index) {
tools/clang/tools/extra/clangd/refactor/Rename.h
   27                  llvm::StringRef NewName, const SymbolIndex *Index = nullptr);
tools/clang/tools/extra/clangd/refactor/Tweak.cpp
   48 Tweak::Selection::Selection(const SymbolIndex *Index, ParsedAST &AST,
tools/clang/tools/extra/clangd/refactor/Tweak.h
   50     Selection(const SymbolIndex *Index, ParsedAST &AST, unsigned RangeBegin,
   55     const SymbolIndex *Index = nullptr;
tools/clang/tools/extra/clangd/tool/ClangdMain.cpp
  583   std::unique_ptr<SymbolIndex> StaticIdx;
tools/clang/tools/extra/clangd/unittests/CodeCompleteTests.cpp
   92 std::unique_ptr<SymbolIndex> memIndex(std::vector<Symbol> Symbols) {
  103   std::unique_ptr<SymbolIndex> OverrideIndex;
  121   std::unique_ptr<SymbolIndex> OverrideIndex;
  156   std::unique_ptr<SymbolIndex> OverrideIndex;
 1008   std::unique_ptr<SymbolIndex> Index;
 1155 class IndexRequestCollector : public SymbolIndex {
tools/clang/tools/extra/clangd/unittests/DiagnosticsTests.cpp
  518 std::unique_ptr<SymbolIndex>
tools/clang/tools/extra/clangd/unittests/RenameTests.cpp
   98     const SymbolIndex *Index;
  109   const SymbolIndex *Index = OtherFileIndex.get();
tools/clang/tools/extra/clangd/unittests/SyncAPI.cpp
  127 SymbolSlab runFuzzyFind(const SymbolIndex &Index, llvm::StringRef Query) {
  134 SymbolSlab runFuzzyFind(const SymbolIndex &Index, const FuzzyFindRequest &Req) {
  140 RefSlab getRefs(const SymbolIndex &Index, SymbolID ID) {
tools/clang/tools/extra/clangd/unittests/SyncAPI.h
   52 SymbolSlab runFuzzyFind(const SymbolIndex &Index, StringRef Query);
   53 SymbolSlab runFuzzyFind(const SymbolIndex &Index, const FuzzyFindRequest &Req);
   54 RefSlab getRefs(const SymbolIndex &Index, SymbolID ID);
tools/clang/tools/extra/clangd/unittests/TestIndex.cpp
   94 std::vector<std::string> match(const SymbolIndex &I,
  106 std::vector<std::string> lookup(const SymbolIndex &I,
tools/clang/tools/extra/clangd/unittests/TestIndex.h
   46 std::vector<std::string> match(const SymbolIndex &I,
   51 std::vector<std::string> lookup(const SymbolIndex &I,
tools/clang/tools/extra/clangd/unittests/TestTU.cpp
   88 std::unique_ptr<SymbolIndex> TestTU::index() const {
tools/clang/tools/extra/clangd/unittests/TestTU.h
   62   const SymbolIndex *ExternalIndex = nullptr;
   69   std::unique_ptr<SymbolIndex> index() const;
tools/clang/tools/extra/clangd/unittests/TweakTesting.h
   72   std::unique_ptr<const SymbolIndex> Index = nullptr;
tools/clang/tools/extra/clangd/unittests/TypeHierarchyTests.cpp
  463 SymbolID findSymbolIDByName(SymbolIndex *Index, llvm::StringRef Name,
  481 std::vector<SymbolID> collectSubtypes(SymbolID Subject, SymbolIndex *Index) {
usr/include/c++/7.4.0/bits/move.h
   46     inline _GLIBCXX_CONSTEXPR _Tp*
   47     __addressof(_Tp& __r) _GLIBCXX_NOEXCEPT
   72     constexpr _Tp&&
   83     constexpr _Tp&&
usr/include/c++/7.4.0/bits/shared_ptr.h
   93     class shared_ptr : public __shared_ptr<_Tp>
  107       using element_type = typename __shared_ptr<_Tp>::element_type;
  236 	shared_ptr(const shared_ptr<_Yp>& __r) noexcept
  253 	shared_ptr(shared_ptr<_Yp>&& __r) noexcept
  277 	shared_ptr(unique_ptr<_Yp, _Del>&& __r)
  299 	_Assignable<const shared_ptr<_Yp>&>
  300 	operator=(const shared_ptr<_Yp>& __r) noexcept
  324 	_Assignable<shared_ptr<_Yp>>
  325 	operator=(shared_ptr<_Yp>&& __r) noexcept
  332 	_Assignable<unique_ptr<_Yp, _Del>>
  333 	operator=(unique_ptr<_Yp, _Del>&& __r)
  352       shared_ptr(const weak_ptr<_Tp>& __r, std::nothrow_t)
usr/include/c++/7.4.0/bits/shared_ptr_base.h
  653 	__shared_count(std::unique_ptr<_Tp, _Del>&& __r) : _M_pi(0)
  660 	  using _Ptr = typename unique_ptr<_Tp, _Del>::pointer;
  882     : is_convertible<_Yp*, _Tp*>::type
  882     : is_convertible<_Yp*, _Tp*>::type
  956       using element_type = _Tp;
 1035     : public __shared_ptr_access<_Tp, _Lp>
 1038       using element_type = typename remove_extent<_Tp>::type;
 1126 	__shared_ptr(const __shared_ptr<_Yp, _Lp>& __r) noexcept
 1138 	__shared_ptr(__shared_ptr<_Yp, _Lp>&& __r) noexcept
 1157 	__shared_ptr(unique_ptr<_Yp, _Del>&& __r)
 1192 	_Assignable<_Yp>
 1193 	operator=(const __shared_ptr<_Yp, _Lp>& __r) noexcept
 1218 	_Assignable<_Yp>
 1219 	operator=(__shared_ptr<_Yp, _Lp>&& __r) noexcept
 1226 	_UniqAssignable<_Yp, _Del>
 1227 	operator=(unique_ptr<_Yp, _Del>&& __r)
 1272       swap(__shared_ptr<_Tp, _Lp>& __other) noexcept
 1344       __shared_ptr(const __weak_ptr<_Tp, _Lp>& __r, std::nothrow_t)
 1377 	typename enable_if<!__has_esft_base<_Yp2>::value>::type
 1378 	_M_enable_shared_from_this_with(_Yp*) noexcept
 1386 	static _Tp1*
 1387 	_S_raw_ptr(_Tp1* __ptr)
 1601       using element_type = typename remove_extent<_Tp>::type;
 1684       __shared_ptr<_Tp, _Lp>
 1720       _M_assign(_Tp* __ptr, const __shared_count<_Lp>& __refcount) noexcept
usr/include/c++/7.4.0/bits/unique_ptr.h
   68         default_delete(const default_delete<_Up>&) noexcept { }
   72       operator()(_Tp* __ptr) const
   74 	static_assert(!is_void<_Tp>::value,
   76 	static_assert(sizeof(_Tp)>0,
  122 	  using type = _Up*;
  137       using pointer = typename _Ptr<_Tp, _Dp>::type;
  161 	typename __uniq_ptr_impl<_Tp, _Up>::_DeleterConstraint::type;
  163       __uniq_ptr_impl<_Tp, _Dp> _M_t;
  166       using pointer	  = typename __uniq_ptr_impl<_Tp, _Dp>::pointer;
  167       using element_type  = _Tp;
  252 	unique_ptr(unique_ptr<_Up, _Ep>&& __u) noexcept
  297           __safe_conversion_up<_Up, _Ep>,
  301 	operator=(unique_ptr<_Up, _Ep>&& __u) noexcept
usr/include/c++/7.4.0/type_traits
  215     : public __is_void_helper<typename remove_cv<_Tp>::type>::type
  581     : public __or_<is_lvalue_reference<_Tp>,
  582                    is_rvalue_reference<_Tp>>::type
  601     : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
  601     : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
  602                           is_void<_Tp>>>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
 1554     { typedef _Tp     type; };
 1558     { typedef _Tp     type; };
 1563     { typedef _Tp     type; };
 1574       remove_const<typename remove_volatile<_Tp>::type>::type     type;
 1645     { typedef _Tp&   type; };
 1650     : public __add_lvalue_reference_helper<_Tp>
 1942     { typedef _Tp     type; };