diff options
| author | Aaron Ballman <aaron@aaronballman.com> | 2016-02-12 15:09:05 +0000 |
|---|---|---|
| committer | Aaron Ballman <aaron@aaronballman.com> | 2016-02-12 15:09:05 +0000 |
| commit | f034a8c7d7719d9be6c775bb74afc97a88238ba4 (patch) | |
| tree | d408ca68558947eb48894f0033a9d2725085cd84 /llvm/unittests/Linker/LinkModulesTest.cpp | |
| parent | 8e57697cfd75ec590307267128456a30707156af (diff) | |
| download | llvm-f034a8c7d7719d9be6c775bb74afc97a88238ba4.zip llvm-f034a8c7d7719d9be6c775bb74afc97a88238ba4.tar.gz llvm-f034a8c7d7719d9be6c775bb74afc97a88238ba4.tar.bz2 | |
Reapply r260096.
Expand the simplify boolean expression check to handle implicit conversion of integral types to bool and improve the handling of implicit conversion of member pointers to bool.
Implicit conversion of member pointers are replaced with explicit comparisons to nullptr.
Implicit conversions of integral types are replaced with explicit comparisons to 0.
Patch by Richard Thomson.
llvm-svn: 260681
Diffstat (limited to 'llvm/unittests/Linker/LinkModulesTest.cpp')
0 files changed, 0 insertions, 0 deletions
