diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2020-05-24 23:08:27 +0200 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2020-05-25 18:22:00 +0200 |
commit | a9b5edc5e2c4ec9d506b2c30465ee9f2dc21e5cc (patch) | |
tree | 57a1cff24b3e416415f66366cbe83730de9d18ae /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 3873d0b3d899bb84a5983450dd2d98006c4527e2 (diff) | |
download | llvm-a9b5edc5e2c4ec9d506b2c30465ee9f2dc21e5cc.zip llvm-a9b5edc5e2c4ec9d506b2c30465ee9f2dc21e5cc.tar.gz llvm-a9b5edc5e2c4ec9d506b2c30465ee9f2dc21e5cc.tar.bz2 |
Make mlir::Value's bool conversion operator explicit
This still allows `if (value)` while requiring an explicit cast when not
in a boolean context. This means things like `std::set<Value>` will no
longer compile.
Differential Revision: https://reviews.llvm.org/D80497
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions