Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[clang] Fix unexpected
-Wconstant-logical-operand
in C23 (llvm#80724)
C23 has `bool`, but logical operators still return int. Check that we're not in C to avoid false-positive -Wconstant-logical-operand. Fixes llvm#64356 (cherry picked from commit a18e92d)
- Loading branch information