Go to file
David Blaikie 09ffc9b473 Enable warn_impcast_literal_float_to_integer by default.
This diagnostic seems to be production ready, it's just an oversight that it
wasn't turned on by default.

The test changes are a bit of a mixed bag. Some tests that seemed like they
clearly didn't need to use this behavior have been modified not to use it.
Others that I couldn't be sure about, I added the necessary expected-warnings
to.

It's possible the diagnostic message could be improved to make it clearer that
this warning can be suppressed by using a value that won't lose precision when
converted to the target type (but can still be a floating point literal, such
as "bool b = 1.0;").

llvm-svn: 154068
2012-04-05 00:16:44 +00:00
clang Enable warn_impcast_literal_float_to_integer by default. 2012-04-05 00:16:44 +00:00
compiler-rt Initial, very rough cut at a new CMake build system for compiler-rt. 2012-04-04 22:12:04 +00:00
debuginfo-tests Revert previous patch as the corresponding clang patch was reverted. 2012-01-26 07:01:33 +00:00
libclc Switch to BSD/MIT dual license. 2012-02-22 04:47:39 +00:00
libcxx Put std::piecewise_construct_t back into the dylib for ABI stability. When clients are in C++11/constexpr mode this will be safely ignored because piecewise_construct is then declared with internal linkage. 2012-04-03 23:45:46 +00:00
libcxxabi I would really like to write the handlers in terms of C++11 atomics. This would give us the best performance, portablity, and safety tradeoff. Unfortunately I can not yet do that. So I've put the desired code in comments, and reverted the handler getters to the slower but safer legacy atomic intrinsics. 2012-03-19 16:56:51 +00:00
lld Remove trailing whitespace. 2012-04-03 18:40:27 +00:00
lldb Fixed a problem where we did not read properties 2012-04-05 00:12:52 +00:00
llvm Fix -Wnon-virtual-dtor warnings. 2012-04-04 22:34:55 +00:00
polly CodeGen: Remove unused declaration 2012-04-03 12:37:14 +00:00