[clang-tools-extra] r359291 - [clangd] Remove unused ClangdServer::dynamicIndex(). NFC

Ilya Biryukov via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 26 02:36:22 PDT 2019


Author: ibiryukov
Date: Fri Apr 26 02:36:22 2019
New Revision: 359291

URL: http://llvm.org/viewvc/llvm-project?rev=359291&view=rev
Log:
[clangd] Remove unused ClangdServer::dynamicIndex(). NFC

Modified:
    clang-tools-extra/trunk/clangd/ClangdServer.h

Modified: clang-tools-extra/trunk/clangd/ClangdServer.h
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/ClangdServer.h?rev=359291&r1=359290&r2=359291&view=diff
==============================================================================
--- clang-tools-extra/trunk/clangd/ClangdServer.h (original)
+++ clang-tools-extra/trunk/clangd/ClangdServer.h Fri Apr 26 02:36:22 2019
@@ -250,10 +250,6 @@ public:
   /// FIXME: those metrics might be useful too, we should add them.
   std::vector<std::pair<Path, std::size_t>> getUsedBytesPerFile() const;
 
-  /// Returns the active dynamic index if one was built.
-  /// This can be useful for testing, debugging, or observing memory usage.
-  const SymbolIndex *dynamicIndex() const { return DynamicIdx.get(); }
-
   // Blocks the main thread until the server is idle. Only for use in tests.
   // Returns false if the timeout expires.
   LLVM_NODISCARD bool




More information about the cfe-commits mailing list