Skip to content

make the whole interface non-throwing #605

@firewave

Description

@firewave

While adding the @throws documentation to the code in #600 I realized there is nonly a single function in the interface which is throwing explicitly (simplecp::characterLiteralToLL()). We should probably be consistent and make this function non-throwing as well.

To enforce that the interface does not throw we should also try to mark functions as noexcept. But we should wait with this until there's a tool-driven way to validate this (i.e. llvm/llvm-project#168324).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions