mirror of
https://github.com/open-goal/jak-project
synced 2026-08-04 01:04:11 -04:00
lint: workaround more ancient clang-format bug false-positives
This commit is contained in:
@@ -31,9 +31,11 @@ class KeyboardDevice : public InputDevice {
|
||||
const CommandBindingGroups& commands,
|
||||
std::shared_ptr<PadData> data,
|
||||
std::optional<InputBindAssignmentMeta>& bind_assignment) override;
|
||||
// clang-format off
|
||||
void close_device() override {
|
||||
// there is nothing to close
|
||||
};
|
||||
// clang-format on
|
||||
|
||||
private:
|
||||
std::vector<ActiveKeyboardAction> m_active_actions = {};
|
||||
|
||||
@@ -31,9 +31,11 @@ class MouseDevice : public InputDevice {
|
||||
const CommandBindingGroups& commands,
|
||||
std::shared_ptr<PadData> data,
|
||||
std::optional<InputBindAssignmentMeta>& bind_assignment) override;
|
||||
// clang-format off
|
||||
void close_device() override {
|
||||
// there is nothing to close
|
||||
};
|
||||
// clang-format on
|
||||
|
||||
void enable_relative_mode(const bool enable);
|
||||
void enable_camera_control(const bool enable);
|
||||
|
||||
@@ -379,9 +379,11 @@ void Workspace::tracked_file_will_save(const LSPSpec::DocumentUri& file_uri) {
|
||||
}
|
||||
}
|
||||
|
||||
// clang-format off
|
||||
void Workspace::update_global_index(const GameVersion game_version) {
|
||||
// TODO - project wide indexing potentially (ie. finding references)
|
||||
};
|
||||
// clang-format on
|
||||
|
||||
void Workspace::stop_tracking_file(const LSPSpec::DocumentUri& file_uri) {
|
||||
m_tracked_ir_files.erase(file_uri);
|
||||
|
||||
Reference in New Issue
Block a user