llvm/llvm-project

readability check to convert numerical constants to std::numeric_limits

Open

#34,434 opened on 2017年10月25日

GitHub で見る
 (14 comments) (0 reactions) (1 assignee)C++ (10,782 forks)batch import
bugzillacheck-requestclang-tidyconfirmedgood first issue

Repository metrics

Stars
 (26,378 stars)
PR merge metrics
 (平均マージ 1d 2h) (30d で 1,000 merged PRs)

説明

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().

コントリビューターガイド