[PATCH] D52892: [Clang-tidy] readability check to convert numerical constants to std::numeric_limits

2018-10-08 Thread Idriss Riouak via Phabricator via cfe-commits
IdrissRio updated this revision to Diff 168662. IdrissRio marked 22 inline comments as done. IdrissRio edited the summary of this revision. IdrissRio added a comment. Update with the suggestion proposed by @Eugene.Zelenko and @JonasToth Repository: rCTE Clang Tools Extra

[PATCH] D52892: [Clang-tidy: readability] readability check to convert numerical constants to std::numeric_limits

2018-10-04 Thread Idriss Riouak via Phabricator via cfe-commits
IdrissRio updated this revision to Diff 168321. IdrissRio added a comment. Herald added a subscriber: jfb. Sorry i have forgot to add the source code. Repository: rCTE Clang Tools Extra https://reviews.llvm.org/D52892 Files: clang-tidy/readability/CMakeLists.txt

[PATCH] D52892: [Clang-tidy: readability] readability check to convert numerical constants to std::numeric_limits

2018-10-04 Thread Idriss Riouak via Phabricator via cfe-commits
IdrissRio created this revision. IdrissRio added reviewers: JonasToth, aaron.ballman, alexfh. Herald added subscribers: cfe-commits, mgorny. Hello, i want to propose this check suggested by @EugeneZelenko. I have found it in the beginner tag of llvm-bugzilla repository. This check looks for