[PATCH] D52730: [analyzer] ConversionChecker: handle floating point

Umann Kristóf via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 7 05:18:28 PST 2018


Szelethus added inline comments.


================
Comment at: test/Analysis/conversion.c:195
+    return r;
+  } else if (b>1<<25) {
+    float f = b; // expected-warning {{Loss of precision}}
----------------
NoQ wrote:
> Szelethus wrote:
> > This too -- how about running clang-format on this file?
> Tests are often unformatted and we usually don't care. Additionally, they are almost always violating LLVM's camelCase vs. under_score conventions.
Hmm, okay :)


Repository:
  rC Clang

https://reviews.llvm.org/D52730





More information about the cfe-commits mailing list