[PATCH] D52730: [analysis] ConversionChecker: handle floating point
Umann Kristóf via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 1 15:13:58 PDT 2018
Szelethus added a subscriber: whisperity.
Szelethus added inline comments.
================
Comment at: lib/StaticAnalyzer/Checkers/ConversionChecker.cpp:175
+
+ if (RepresentsUntilExp >= sizeof(unsigned long long)*8) {
return false;
----------------
Szelethus wrote:
> How about `AC.getSizeType(AC.UnsignedLongLongTy))`?
I'm actually not too sure about this. @whisperity?
Repository:
rC Clang
https://reviews.llvm.org/D52730
More information about the cfe-commits
mailing list