Unverified Commit 332be179 authored by Congcong Cai's avatar Congcong Cai Committed by GitHub
Browse files

[clang-tidy]fix readability-implicit-bool-conversion false-positives when...

[clang-tidy]fix readability-implicit-bool-conversion false-positives when comparison bool bitfield (#77878)

Fixes: #76817
For ignoring comparison and xor operator, it needs
to use `ImplicitCastFromBool` without ignoring
exception cases.
This patch splits ignoring exception cases logic
from `ImplicitCastFromBool` and only applies
it during matching targeted AST.
parent 7c773558
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment