[PATCH] D64666: [Sema] Enable -Wimplicit-float-conversion for integral to floating point precision loss
Dávid Bolvanský via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 26 14:24:44 PDT 2019
xbolva00 added inline comments.
================
Comment at: clang/lib/Sema/SemaChecking.cpp:11653
+ // Propagate whether we are in a c++ list initialization expression.
+ // If so, we do not issue warnings for implicit int-flaot conversion
+ // precision loss because c++11 narrowing already handles it.
----------------
Typo
================
Comment at: clang/lib/Sema/SemaChecking.cpp:11654
+ // If so, we do not issue warnings for implicit int-flaot conversion
+ // precision loss because c++11 narrowing already handles it.
+ IsListInit =
----------------
C++11
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64666/new/
https://reviews.llvm.org/D64666
More information about the cfe-commits
mailing list