[PATCH] D53488: [clang-tidy] Catching narrowing from double to float.

Guillaume Chatelet via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 24 04:09:17 PDT 2018


gchatelet updated this revision to Diff 170846.
gchatelet added a comment.

- Update documentation, makes returning code path more explicit.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D53488

Files:
  clang-tidy/cppcoreguidelines/NarrowingConversionsCheck.cpp
  clang-tidy/cppcoreguidelines/NarrowingConversionsCheck.h
  docs/clang-tidy/checks/cppcoreguidelines-narrowing-conversions.rst
  test/clang-tidy/cppcoreguidelines-narrowing-conversions.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53488.170846.patch
Type: text/x-patch
Size: 10491 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181024/09ec278e/attachment-0001.bin>


More information about the cfe-commits mailing list