[clang-tools-extra] e7fa272 - [clangd] Fix missing key function in PreambleThrottler

Sam McCall via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 6 09:27:18 PDT 2022


Author: Sam McCall
Date: 2022-07-06T18:27:09+02:00
New Revision: e7fa272bc6a6a504c2899bb7cf66029678d97890

URL: https://github.com/llvm/llvm-project/commit/e7fa272bc6a6a504c2899bb7cf66029678d97890
DIFF: https://github.com/llvm/llvm-project/commit/e7fa272bc6a6a504c2899bb7cf66029678d97890.diff

LOG: [clangd] Fix missing key function in PreambleThrottler

Added: 
    

Modified: 
    clang-tools-extra/clangd/TUScheduler.h

Removed: 
    


################################################################################
diff  --git a/clang-tools-extra/clangd/TUScheduler.h b/clang-tools-extra/clangd/TUScheduler.h
index 2817f1343185d..d616814a5edb9 100644
--- a/clang-tools-extra/clangd/TUScheduler.h
+++ b/clang-tools-extra/clangd/TUScheduler.h
@@ -104,7 +104,7 @@ class PreambleThrottler {
   ///
   /// Does not block, may eventually invoke the callback to satisfy the request.
   /// If the callback is invoked, release() must be called afterwards.
-  virtual RequestID acquire(llvm::StringRef Filename, Callback);
+  virtual RequestID acquire(llvm::StringRef Filename, Callback) = 0;
   /// Abandons the request/releases any resources that have been acquired.
   ///
   /// Must be called exactly once after acquire().


        


More information about the cfe-commits mailing list