[clangd] Fix missing key function in PreambleThrottler

This commit is contained in:
Sam McCall 2022-07-06 18:27:02 +02:00
parent 5d4f6ce229
commit e7fa272bc6

View file

@ -104,7 +104,7 @@ public:
/// ///
/// Does not block, may eventually invoke the callback to satisfy the request. /// Does not block, may eventually invoke the callback to satisfy the request.
/// If the callback is invoked, release() must be called afterwards. /// 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. /// Abandons the request/releases any resources that have been acquired.
/// ///
/// Must be called exactly once after acquire(). /// Must be called exactly once after acquire().