Skip to content

[WIP] Implement Rule 0.2.4 for unused functions#1045

Closed
Copilot wants to merge 1 commit intomichaelrfairhurst/implement-deadcode-10-rule-0-2-4from
copilot/sub-pr-1044
Closed

[WIP] Implement Rule 0.2.4 for unused functions#1045
Copilot wants to merge 1 commit intomichaelrfairhurst/implement-deadcode-10-rule-0-2-4from
copilot/sub-pr-1044

Conversation

Copy link

Copilot AI commented Feb 18, 2026

Thanks for the feedback on #1044. I've created this new PR, which merges into #1044, to address your comment. I will work on the changes and keep this PR's description up to date as I make progress.

Original PR: #1044
Triggering comment (#1044 (comment)):

@copilot

Fix format:

/src/debug/protocol/controller.cpp:206:61: error: code should be clang-formatted [-Wclang-format-violations]
engine_->resume(ExecutionRequestKind::CONTINUE);
^
./tests/service/test_protocol.cpp:247:39: error: code should be clang-formatted [-Wclang-format-violations]
Protocol protocol(controller);
^
./tests/service/test_protocol.cpp:250:81: error: code should be clang-formatted [-Wclang-format-violations]
controller.initialize(init_args, [](const InitializeResponseBody &) {});
^
./tests/service/test_protocol.cpp:254:27: error: code should be clang-formatted [-Wclang-format-violations]
args.threadId = 1;
^
./tests/service/test_protocol.cpp:256:61: error: code should be clang-formatted [-Wclang-format-violations]
auto response = controller.continue_execution(args);
^
./tests/service/test_protocol.cpp:279:39: error: code should be clang-formatted [-Wclang-format-violations]
Protocol protocol(controller);
^
./tests/service/test_protocol.cpp:282:81: error: code should be clang-formatted [-Wclang-format-violations]
controller.initialize(init_args, [](const InitializeResponseBody &) {});
^
./tests/service/test_protocol.cpp:286:27: error: code should be clang-formatted [-Wclang-format-violations]
args.threadId = 1;
^
./tests/service/test_protocol.cpp:309:39: error: code should be clang-formatted [-Wclang-format-violations]
Protocol protocol(controller);
^
./tests/service/test_protocol.cpp:312:81: error: code should be clang-formatted [-Wclang-format-violations]
controller.initialize(init_args, [](const InitializeResponseBody &) {});
^
./tests/service/test_protocol.cpp:316:27: error: code should be clang-formatted [-Wclang-format-violations]
args.threadId = 1;
^


🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments