Skip to content

Fix noexcept MISRA findings - #900

Draft
castler wants to merge 4 commits into
mainfrom
js_remove_more_noexcept
Draft

Fix noexcept MISRA findings#900
castler wants to merge 4 commits into
mainfrom
js_remove_more_noexcept

Conversation

@castler

@castler castler commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Remove noexcept from APIs and helpers that can propagate exceptions, including tracing, service discovery, proxy, LoLa binding, and shared-memory paths.

std::weak_ptr<FindServiceHandler<HandleType>> handler_weak_ptr,
const EnrichedInstanceIdentifier& enriched_instance_identifier) noexcept -> Result<void>
auto ServiceDiscovery::BindingSpecificStartFindService(FindServiceHandle search_handle,
std::weak_ptr<FindServiceHandler<HandleType>> handler_weak_ptr,
Remove noexcept from APIs and helpers that can propagate exceptions, including tracing, service discovery, proxy, LoLa binding, and shared-memory paths.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
const UserPermissions& permissions,
AccessControlListFactory acl_factory,
std::shared_ptr<score::memory::shared::TypedMemory> typed_memory_ptr) noexcept
std::shared_ptr<score::memory::shared::TypedMemory> typed_memory_ptr)
const UserPermissions& permissions,
AccessControlListFactory acl_factory,
std::shared_ptr<score::memory::shared::TypedMemory> typed_memory_ptr) noexcept
std::shared_ptr<score::memory::shared::TypedMemory> typed_memory_ptr)
const UserPermissions& permissions,
AccessControlListFactory acl_factory,
std::shared_ptr<score::memory::shared::TypedMemory> typed_memory_ptr) noexcept
std::shared_ptr<score::memory::shared::TypedMemory> typed_memory_ptr)
const UserPermissions& permissions,
score::os::IAccessControlList* acl_control_list,
std::shared_ptr<score::memory::shared::TypedMemory> typed_memory_ptr) noexcept
std::shared_ptr<score::memory::shared::TypedMemory> typed_memory_ptr)
Comment thread score/memory/shared/shared_memory_test_resources.cpp Fixed
Keep declarations and definitions consistent after removing noexcept from exception-capable creation paths.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
SharedMemoryResource::InitializeCallback initialize_callback,
const UserPermissions& permissions,
score::os::IAccessControlList* acl_control_list,
std::shared_ptr<score::memory::shared::TypedMemory> typed_memory_ptr)
castler and others added 2 commits August 12, 2026 09:08
Restore terminating allocation behavior, align the LoLa skeleton destructor contract, and keep shared-memory helpers clang-formatted.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Declare the LoLa generic skeleton event destructor noexcept so Clang sanitizer builds match the non-throwing base destructor.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

2 participants