diff options
author | David Blaikie <dblaikie@gmail.com> | 2020-03-26 13:47:34 -0700 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2020-03-26 20:09:57 -0700 |
commit | 324f5a14d7cfb4922a0345d67b20b8cb5953ee82 (patch) | |
tree | c3060c7a7c51d1f171f1b54fa55f3d5844eb3d6e /llvm/lib/CodeGen/MachineOperand.cpp | |
parent | 64fe84185602b59c2e07c142b9772c6e855153cb (diff) | |
download | llvm-324f5a14d7cfb4922a0345d67b20b8cb5953ee82.zip llvm-324f5a14d7cfb4922a0345d67b20b8cb5953ee82.tar.gz llvm-324f5a14d7cfb4922a0345d67b20b8cb5953ee82.tar.bz2 |
Make llvm::function_ref's operator bool explicit
This can avoid all sorts of mistakes with implicit conversion
(indirectly) to int, etc. I'm quite surprise there aren't any things to
fixup with this - but I guess most uses of function_ref aren't
optional/nullable.
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions