commit | dc0e3f75fdea858aaaa4b4d3cc13ae2977ac48b3 | [log] [tgz] |
---|---|---|
author | Eric Fiselier <eric@efcs.ca> | Fri Jan 20 19:34:19 2017 +0000 |
committer | Eric Fiselier <eric@efcs.ca> | Fri Jan 20 19:34:19 2017 +0000 |
tree | 996e8b8644dda2b5cddc4c999ea8ad11de339f15 | |
parent | 0cbb1dae894eec86e0a2978d5a0f101f1761983c [diff] |
Fix catch_reference_nullptr.pass.cpp test for GCC. This test contained an implicit conversion from nullptr to bool. Clang warns about this but the test had supressed that warning. However GCC diagnoses the same code as an error and requires -fpermissive to accept it. This patch fixes both the warning and the error by explicitly converting the pointer to bool. git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@292638 91177308-0d34-0410-b5e6-96231b3b80d8