llvm/llvm-project

readability check to convert numerical constants to std::numeric_limits

開放

#34,434 建立於 2017年10月25日

 (14 則留言) (0 個反應) (1 位負責人)C++ (10,782 個分叉)batch import
bugzillacheck-requestclang-tidyconfirmedgood first issue

倉庫指標

星標
 (26,378 顆星)
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().

貢獻者指南