Go to file
Tim Northover 0241637c0e Sema: disable implicit conversion from _Complex to real types in C++.
Converting a _Complex type to a real one simply discards the imaginary part.
This can easily lead to loss of information so for safety (and GCC
compatibility) this patch disallows that when the conversion would be implicit.

The one exception is bool, which actually compares both real and imaginary
parts and so is safe.

llvm-svn: 310427
2017-08-08 23:18:05 +00:00
clang Sema: disable implicit conversion from _Complex to real types in C++. 2017-08-08 23:18:05 +00:00
clang-tools-extra [clang-tidy] Add new readability non-idiomatic static access check 2017-08-08 15:33:48 +00:00
compiler-rt [winasan] Fix hotpatching ntdll!strcpy for Win10 creators edition 2017-08-08 21:18:36 +00:00
debuginfo-tests Add a test for PR33166. 2017-05-25 19:33:16 +00:00
libclc configure.py: Make python3 friendly 2017-08-02 15:00:59 +00:00
libcxx [libc++] Don't hardcode namespace in manual mangling 2017-08-07 19:59:58 +00:00
libcxxabi [demangler] Rename some variables, NFC 2017-08-08 20:57:10 +00:00
libunwind [CMake] Allow overriding lib dir suffix independently from LLVM 2017-08-08 00:37:59 +00:00
lld [PDB] Fix linking of function symbols and local variables. 2017-08-08 18:34:44 +00:00
lldb Add existing unit tests to Xcode project 2017-08-08 20:59:20 +00:00
llgo irgen: Create functions instead of global variables for builtin hash and equal algorithms. 2017-06-04 22:11:28 +00:00
llvm Revert "[GlobalISel] Remove the GISelAccessor API." 2017-08-08 22:22:30 +00:00
openmp Exclude version symbols for static libomp 2017-08-02 20:10:00 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly [test] Add descriptions and pseudocode to tests. NFC. 2017-08-08 17:26:19 +00:00