summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/asan/lit_tests/Linux/interface_symbols_linux.c
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2013-06-06 09:16:36 +0000
committerHans Wennborg <hans@hanshq.net>2013-06-06 09:16:36 +0000
commit15439bcf79decf81f94bfaf2e4b39167bf954b18 (patch)
tree4af47a5933186eaf32c505ef5599039c8507666b /compiler-rt/lib/asan/lit_tests/Linux/interface_symbols_linux.c
parent6dcecb6b33ee04a93ef4f94e8597f9b8679d1c5d (diff)
downloadbcm5719-llvm-15439bcf79decf81f94bfaf2e4b39167bf954b18.tar.gz
bcm5719-llvm-15439bcf79decf81f94bfaf2e4b39167bf954b18.zip
Disallow reinterpret_cast from pointer to bool on Windows
This became allowed by accident in r131201, but triggers an assert. That patch added an exception to allow conversion from pointers to narrow integral types for MSVC compatibility. However, a pointer can already be converted to bool in a civilized manner; allowing conversion via reinterpret_cast is a bad idea. Fixes PR16222. llvm-svn: 183394
Diffstat (limited to 'compiler-rt/lib/asan/lit_tests/Linux/interface_symbols_linux.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud