llvm/llvm-project

readability check to convert numerical constants to std::numeric_limits

Open

#34,434 创建于 2017年10月25日

在 GitHub 查看
 (14 评论) (0 反应) (1 负责人)C++ (10,782 fork)batch import
bugzillacheck-requestclang-tidyconfirmedgood first issue

仓库指标

Star
 (26,378 star)
PR 合并指标
 (平均合并 1天 2小时) (30 天内合并 1,000 个 PR)

描述

Bugzilla Link 35086
Version unspecified
OS All
CC @JonasToth

Extended Description

It'll be great to have readability check with will convert ~0, -1 for unsigned integer types to std::numeric_limits::max().

贡献者指南