HomePhabricator

[Diagnostics] Use Expr::isKnownToHaveBooleanValue() to check bitwise negation…

Authored by xbolva00 on Oct 5 2019, 1:02 AM.

Description

[Diagnostics] Use Expr::isKnownToHaveBooleanValue() to check bitwise negation of bool in languages without a bool type

Thanks for this advice, Richard Trieu!

llvm-svn: 373817

Details

Committed
xbolva00Oct 5 2019, 1:02 AM
Parents
rG482f4d9aa9d1: Expose ProvidePositionalOption as a public API
Branches
Unknown
Tags
Unknown