aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineOperand.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2020-03-26 13:47:34 -0700
committerDavid Blaikie <dblaikie@gmail.com>2020-03-26 20:09:57 -0700
commit324f5a14d7cfb4922a0345d67b20b8cb5953ee82 (patch)
treec3060c7a7c51d1f171f1b54fa55f3d5844eb3d6e /llvm/lib/CodeGen/MachineOperand.cpp
parent64fe84185602b59c2e07c142b9772c6e855153cb (diff)
downloadllvm-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