mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[SourceKit] Make SwiftASTConsumer::failed pure virtual
Previously, if a semantic tokens request or diagnostic request failed, we wouldn’t return any response.
This commit is contained in:
@@ -223,7 +223,7 @@ public:
|
||||
|
||||
/// Creation of the AST failed due to \p Error. The request corresponding to
|
||||
/// this consumer should fail.
|
||||
virtual void failed(StringRef Error);
|
||||
virtual void failed(StringRef Error) = 0;
|
||||
|
||||
/// The consumer was cancelled by the \c requestCancellation method and the \c
|
||||
/// ASTBuildOperation creating the AST for this consumer honored the request.
|
||||
|
||||
Reference in New Issue
Block a user