Skip to content

[libc++] std::abs should diagnose unsigned char and unsigned short uses #144854

@philnik777

Description

@philnik777

Clang sometimes doesn't diagnose these with our current implementation. We should be able to add __attribute__((diagnose_if))s to re-gain the diagnostics.

Metadata

Metadata

Assignees

Labels

enhancementImproving things as opposed to bug fixing, e.g. new or missing featurelibc++libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions