aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/MetadataLoader.cpp
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2017-01-20 19:34:19 +0000
committerEric Fiselier <eric@efcs.ca>2017-01-20 19:34:19 +0000
commit35c8983c3373dd9e4251c7cff7628ec0bb5344be (patch)
tree97ee58f5ce8ffa65dc512d7be99ce267776e1a01 /llvm/lib/Bitcode/Reader/MetadataLoader.cpp
parentcf9f422ba165b9269001ffb0dc5681ba13c047aa (diff)
downloadllvm-35c8983c3373dd9e4251c7cff7628ec0bb5344be.zip
llvm-35c8983c3373dd9e4251c7cff7628ec0bb5344be.tar.gz
llvm-35c8983c3373dd9e4251c7cff7628ec0bb5344be.tar.bz2
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. llvm-svn: 292638
Diffstat (limited to 'llvm/lib/Bitcode/Reader/MetadataLoader.cpp')
0 files changed, 0 insertions, 0 deletions