Skip to content

cpplint should warn about any use of exit() or abort() #1902

Open
@tautschnig

Description

@tautschnig

Following @martin-cs' suggestion in #1875:

Suggested policy: The only way for normal termination of program execution is via return from main. Abnormal termination is to be handled via the macros provided by invariant.h. Any other use requires explanation and should be explicitly marked as NOLINT.

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