diff options
author | Erich Keane <erich.keane@intel.com> | 2019-01-17 23:11:15 +0000 |
---|---|---|
committer | Erich Keane <erich.keane@intel.com> | 2019-01-17 23:11:15 +0000 |
commit | 26e4cef093fee48f567eb7f8dfe386b3804466de (patch) | |
tree | 4a6b274b0a2e8064a38430e852914daa134d4ac5 /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | |
parent | 456b93b4c2af5aaa855bf2993d1a37a4c062a966 (diff) | |
download | bcm5719-llvm-26e4cef093fee48f567eb7f8dfe386b3804466de.tar.gz bcm5719-llvm-26e4cef093fee48f567eb7f8dfe386b3804466de.zip |
Make integral-o-pointer conversions in SFINAE illegal.
As reported in PR40362, allowing the conversion from an integral to a
pointer type (despite being illegal in the C++ standard) will cause
surprsing results when testing for certain behaviors in SFINAE. This
patch converts the error to a SFINAE Error and adds a test to ensure
that it is still a warning in non-SFINAE but an error in it.
Change-Id: I1f475637fa4d83217ae37dc6b5dbf653e118fae4
llvm-svn: 351495
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
0 files changed, 0 insertions, 0 deletions