Skip to content

Commit

Permalink
Completion: add "pure" attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxKellermann committed Sep 11, 2024
1 parent e834fb2 commit d0639fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Completion.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ public:
Range range;
};

[[nodiscard]] [[gnu::pure]]
Result Complete(std::string_view prefix) const noexcept;

virtual void Pre(std::string_view value) noexcept = 0;
Expand Down

0 comments on commit d0639fb

Please sign in to comment.